Download Print this page

Commodore Amiga A500 Technical Reference Manual page 68

Hide thumbs Also See for Amiga A500:

Advertisement

EXAMPLES
Tries t o allocate 2 slots on a two slot boundary.
AllocExpansionMem( 6 4 , 3 2
)
This is the allocation rule for 4 meg boards. It allocates 4 megabytes
(64 slots) on an odd 2 meg boundary.
EXCEPTIONS
SEE ALSO
FreeExpansionMem, AllocBoardMem, FreeBoardMem
BUGS
NAME
SYSTEMILIBRARIESI
ConfigBoard
-
configure a board
SYNOPSlS
error
=
ConfigBoard( board, configDev
)
DOAO
A l
FUNCTION
This routine configures an expansion board. The board will generally
live a t EEXPANSIONBASE, but the base is passed as a parameter t o
allow future compatibility. The configDev parameter must be a valid
configDev that has already had ReadExpansionRom() called on it.
ConfigBoard will allocate expansion memory and place the board a t
its new address. It will update configDev accordingly. If there is not
enough expansion memory for this board then an error will be re-
turned.
INPUTS
board
-
the current address that the expansion board
is
respond-
ing.
configDev
-
an initialized ConfigDev structure.
RESULTS
error
-
non-zero if there was a problem configuring this board

Advertisement

loading

This manual is also suitable for:

Amiga a2000