Replaced Apple II specific solution with implementation of recently introduced devicedir().

git-svn-id: svn://svn.cc65.org/cc65/trunk@5846 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-10-10 20:55:56 +00:00
parent 3ca0ddb1b0
commit d99d5f3337
7 changed files with 84 additions and 61 deletions

View File

@@ -155,11 +155,6 @@ unsigned char get_ostype (void);
void rebootafterexit (void);
/* Reboot machine after program termination has completed. */
int __fastcall__ rootdir (unsigned char drive, char* buf);
/* Fill buffer with root directory name of ProDOS 8 disk in
* ProDOS 8 drive. Returns 0 on success and -1 on error.
*/
#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.