EasyManua.ls Logo

Commodore Amiga A500 - Page 68

Commodore Amiga A500
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EXAMPLES
Tries to allocate 2 slots on a two slot boundary.
AllocExpansionMem( 64,32
)
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 at EEXPANSIONBASE, but the base is passed as a parameter to
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 at
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

Related product manuals