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

Re: Smartport Questions



In article <1992Nov17.074802.8769@iscsvax.uni.edu> recker1763@iscsvax.uni.edu writes:
>
>How do I get the value for UnitNum in a SmartPort call from ProDOS 8?
>I want to issue a smartport call from the last used device?

There is no defined mapping from ProDOS 8 device number to SmartPort slot +
unit number.

The only guaranteed way I can think of is what I did in the Davex "eject"
command:  Read block 2 of all units on all SmartPort cards until you find
the disk with the right ProDOS volume name.
-- 
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.