[cc65] Atari DIO

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-10-23 19:18:04


Hi,

I have some questions about the Atari dio routines:

1. What is the syntax for calling dio_open?  The docs say that you use 0 for drive 1, and so on.  I want to open drive 6 for read and drive 7 for write.

2. Trying to open these drives gives me _oserror = 130, nonexistant device.  Am I running into a problem of the library only being able to access 4 drives hard-coded into it?  This is using Sparta where I can have 8-9 drives available at once (16 if you use SpartaDos X IIRC.)

3. Christian, would you be willing to fix the code around sector size, so that it is not hardcoded at 128, but rather we could change it ourselves?  Knowing the sector size in my application is not a problem, so if I could set it manually that would be great!  I'm not worried about autodetecting it.

--
Thanks,
Shawn



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-10-23 19:20:05 CEST