home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / 24414 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.1 KB

  1. Path: sparky!uunet!think.com!ames!data.nas.nasa.gov!taligent!apple!dlyons
  2. From: dlyons@Apple.COM (David A Lyons)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: Smartport Questions
  5. Message-ID: <74628@apple.apple.COM>
  6. Date: 24 Nov 92 03:23:31 GMT
  7. References: <1992Nov17.074802.8769@iscsvax.uni.edu>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 17
  10.  
  11. In article <1992Nov17.074802.8769@iscsvax.uni.edu> recker1763@iscsvax.uni.edu writes:
  12. >
  13. >How do I get the value for UnitNum in a SmartPort call from ProDOS 8?
  14. >I want to issue a smartport call from the last used device?
  15.  
  16. There is no defined mapping from ProDOS 8 device number to SmartPort slot +
  17. unit number.
  18.  
  19. The only guaranteed way I can think of is what I did in the Davex "eject"
  20. command:  Read block 2 of all units on all SmartPort cards until you find
  21. the disk with the right ProDOS volume name.
  22. -- 
  23. David A. Lyons, Apple Computer, Inc.      |   DAL Systems
  24. Apple II System Software Engineer         |   P.O. Box 875
  25. Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875
  26.  
  27. My opinions are my own, not Apple's.
  28.