Download Print this page

Commodore Amiga A500 Technical Reference Manual page 63

Hide thumbs Also See for Amiga A500:

Advertisement

EXAMPLES
l*
enter a bootable disk into the system. Start a file handler
**
process immediately.
*/
AddDosNode(
0.
ADNFSTARTPROC, MakeDosNode( parampacket
)
1;
BUGS
The flexible boot strategy is only that
-
strategy. It still needs to be
reflected in code somewhere.
SEE ALSO
MakeDosNode
EXPANSION.LIBRARY1
NAME
MAKEDOSNODE
MakeDosNode
-
construct dos data structures that a disk needs
SYNOPSIS
FUNCTION
This routine manufactures the data structures needed to enter a dos
disk device into the system. This consists of a DeviceNode, a
FileSysStartupMsg, a disk environment vector, and up to two bcpl
strings. See the librarieddosextens and librariedfilehandler include
files for more information.
MakeDosNode will allocate all the memory it needs, and then link the
various structure together. It will make sure all the structures are
long-word aligned (as required by the DOS). It then returns the in-
formation to the user so he can change anything else that needs
changing. Typically he will then call AddDosNodeO to enter the new
device into the dos tables.
INPUTS
parameterpkt
-
a longword array containing all the information
needed to initialize the data structures. Normally I would have pro-
vided a structure for this, but the variable length of the packet
caused problems. The two strings are null terminated strings, like all
other exec strings.

Advertisement

loading

This manual is also suitable for:

Amiga a2000