Download Print this page

Commodore Amiga A500 Technical Reference Manual page 73

Hide thumbs Also See for Amiga A500:

Advertisement

EXAMPLES
EXCEPTIONS
If the caller tries t o free a slot that is already in the free list,
FreeExpansionMem will Alert(
)
(e.g. crash the system).
SEE ALSO
AllocExpansionMem, AllocBoardMem, FreeBoardMem
BUGS
SYSTEM/LIBRARIES/
NAME
EXPANSION1
GETCURRENTBINDING
GetCurrentBinding
-
sets static board configuration area
SYNOPSIS
actual
=
GetCurrentBinding( currentBinding, size
)
A 0
DO:16
FUNCTION
This function writes the contents of the "currentBinding" structure
out of a private place. It may be set via SetCurrentBindingO. This is
really a kludge, but it is the only way t o pass extra arguments t o a
newly configured device.
A
CurrentBinding structure has the name of the currently loaded file,
the product string that was associated with this driver, and a pointer
to the head of a singly linked list of ConfigDev structures (linked
through the ccLNextCD field).
Many devices may not need this information; they have hard coded
into themselves their manufacture number. It is recommended that
you at least check that you can deal with the product code in the
linked ConfigDev structures.
INPUTS
currentBinding
-
a pointer t o a CurrentBinding structure
size
-
the size of the user's binddriver structure. No more than this
much data will be copied. If size is larger than the libraries idea a
CurrentBinding size, then the structure will be null padded.

Advertisement

loading

This manual is also suitable for:

Amiga a2000