[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProDOS 8 busy?



In article <9212311159.AA23769@apple.com> ST2975@SIUCVMB.SIU.EDU writes:
>Is there an undocumented error code for ProDOS 8 busy
>similar to GS/OS busy?
>
>I was thinking of returning from a subroutine with a
>zero in the accumulator indicating that no error occurred
>but with the carry set to simulate a ProDOS 8 busy error.

There is no ProDOS 8 busy error code, although there is a P8 busy flag
on $BF00 page (you only need to check it if you're trying to make P8
calls from an interrupt, which is rare and tricky & only works for local
disks, not AppleShare network disks).

Internal to your program, if you want to use SEC/A=0 to flag some error
condition, that's no problem.  P8 won't return that.
-- 
David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II System Software Engineer         |   P.O. Box 875
Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875

My opinions are my own, not Apple's.