mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
add IOCB definitions; update years in copyright message
git-svn-id: svn://svn.cc65.org/cc65/trunk@3555 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f02698b66d
commit
139e577123
@ -6,9 +6,9 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 2000 Mark Keates <markk@dendrite.co.uk> */
|
||||
/* Freddy Offenga <taf_offenga@yahoo.com> */
|
||||
/* Christian Groessler <cpg@aladdin.de> */
|
||||
/* (C) 2000-2005 Mark Keates <markk@dendrite.co.uk> */
|
||||
/* Freddy Offenga <taf_offenga@yahoo.com> */
|
||||
/* Christian Groessler <cpg@aladdin.de> */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@ -229,5 +229,24 @@ struct __dcb {
|
||||
};
|
||||
#define DCB (*(struct __dcb *)0x300)
|
||||
|
||||
/* I/O control block */
|
||||
struct __iocb {
|
||||
unsigned char handler; /* handler index number (0xff free) */
|
||||
unsigned char drive; /* device number (drive) */
|
||||
unsigned char command; /* command */
|
||||
unsigned char status; /* status of last operation */
|
||||
void *buffer; /* pointer to buffer */
|
||||
void *put_byte; /* pointer to device's PUT BYTE routine */
|
||||
unsigned int buflen; /* length of buffer */
|
||||
unsigned char aux1; /* 1st auxiliary byte */
|
||||
unsigned char aux2; /* 2nd auxiliary byte */
|
||||
unsigned char aux3; /* 3rd auxiliary byte */
|
||||
unsigned char aux4; /* 4th auxiliary byte */
|
||||
unsigned char aux5; /* 5th auxiliary byte */
|
||||
unsigned char spare; /* spare byte */
|
||||
};
|
||||
#define ZIOCB (*(struct __iocb *)0x20) /* zero page IOCB */
|
||||
#define IOCB (*(struct __iocb *)0x340) /* system IOCB buffers */
|
||||
|
||||
/* End of atari.h */
|
||||
#endif /* #ifndef _ATARI_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user