Added functions to learn about the unit numbers of the ProDOS 8 devices found.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4663 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2010-05-24 20:10:19 +00:00
parent 05f7296369
commit 1bbbed5e96
5 changed files with 48 additions and 0 deletions

View File

@@ -143,6 +143,12 @@ unsigned char get_ostype (void);
void rebootafterexit (void);
/* Reboot machine after program termination has completed. */
unsigned char drivecount (void);
/* Returns the number of ProDOS 8 drives. */
unsigned char* drivelist (void);
/* Returns a pointer to the list of ProDOS 8 drives. */
#define ser_apple2_slot(num) ser_ioctl (0, (void *) (num))
/* Select a slot number from 1 to 7 prior to ser_open.
* The default slot number is 2.