Commodore Amiga A500 Technical Reference Manual page 61

Hide thumbs Also See for Amiga A500:
Table of Contents

Advertisement

longword
0
1
2
3
4
5-n
RESULTS
deviceNode — pointer to initialize device node structure, or null if
there was not enough memory.
EXAMPLES
/* set up a 3.5" amiga format floppy drive for unit 1 */
char execName[] = "trackdisk.device";
char dosName[] = "df1";
ULONG parmPkt[] = [
(ULONG) dosName,
(ULONG) execName,
1,
0,
/* here is the environment block */
11,
512>>2,
0,
2,
1,
11,
2,
0,
0,
0,
79,
5,
];
struct Device Node *node, *MakeDosNode();
node = MakeDosNode( parmPkt):
BUGS
SEE ALSO
AddDosNode
58
description
string with dos handler name
string with exec device name
unit number (for OpenDevice)
flags (for OpenDevice)
# of longwords in rest of environment
file handler environment (see libraries/file-
handler.h)
/* unit number */
/* OpenDevice flags */
/* table upper bound */
/* # longwords in a block */
/* sector origin — unused */
/* number of surfaces */
/* secs per logical block— unused */
/* secs per track */
/* reserved blocks — 2 boot blocks */
/*?? — unused */
/* interleave */
/* lower cylinder */
/* upper cylinder */
/* number of buffers */

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amiga a2000

Table of Contents