home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apple2 / 26758 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!olivea!apple!dlyons
  2. From: dlyons@Apple.COM (David A Lyons)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: ProDOS 8 busy?
  5. Message-ID: <76483@apple.apple.COM>
  6. Date: 12 Jan 93 01:07:42 GMT
  7. References: <9212311159.AA23769@apple.com>
  8. Organization: Apple Computer Inc, Cupertino, CA
  9. Lines: 21
  10.  
  11. In article <9212311159.AA23769@apple.com> ST2975@SIUCVMB.SIU.EDU writes:
  12. >Is there an undocumented error code for ProDOS 8 busy
  13. >similar to GS/OS busy?
  14. >
  15. >I was thinking of returning from a subroutine with a
  16. >zero in the accumulator indicating that no error occurred
  17. >but with the carry set to simulate a ProDOS 8 busy error.
  18.  
  19. There is no ProDOS 8 busy error code, although there is a P8 busy flag
  20. on $BF00 page (you only need to check it if you're trying to make P8
  21. calls from an interrupt, which is rare and tricky & only works for local
  22. disks, not AppleShare network disks).
  23.  
  24. Internal to your program, if you want to use SEC/A=0 to flag some error
  25. condition, that's no problem.  P8 won't return that.
  26. -- 
  27. David A. Lyons, Apple Computer, Inc.      |   DAL Systems
  28. Apple II System Software Engineer         |   P.O. Box 875
  29. Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875
  30.  
  31. My opinions are my own, not Apple's.
  32.