[comp.sys.apple2] Help with GS/OS SysPrefs

daveh@ccwf.cc.utexas.edu (David H. Huang) (02/14/91)

I just got the GS/OS Reference Manual a few days ago, and under the
SetSysPrefs command, it says "For those calls that specify a reference
number parameter (for example Read, Write, Close), Mount displays the
dialog box if bits 14 and 13 are not both set to 1."

Well, I tried this out with the GS/OS Exerciser: Set the SysPrefs to $0000,
open a file, read a few hundred bytes from it. No problem right? OK, take
the disk out, read a few more hundred bytes. You get a box telling you to
insert the disk. If you select "Cancel", you get a $45 (volume not found)
error. If you put the disk back in and select "OK", everything's OK.
Now, set the sysprefs to $6000 (bits 13 and 14 set to 1). Take the disk
out and read a few hundred bytes. You don't get a mount volume box, which
is good, but it keeps on looking for the disk instead of giving a $45
error, which is bad. When you put the disk back in, it reads and you get
no error. Is this how it's supposed to work? It seems like a bad way to
handle things, but I could be wrong. If it's supposed to do this, does
anyone know of a way to get a $45 error with no dialog box (when reading)?

Thanks!
---Dave


-- 
David Huang                                 |
Internet: daveh@ccwf.cc.utexas.edu          | "Slight accidents with funny rays
UUCP: ...!ut-emx!ccwf.cc.utexas.edu!daveh   |   can have serious consequences"
America Online: DrWho29                     |