[Coco] PEEKing the drive number?

Robert Emery theother_bob at yahoo.com
Sun Apr 10 18:34:16 EDT 2005


> > Is there a peek or any way to know which drive is the active one?
> > 
> The default drive number is stored at $95A and usually $EB will be the 
> last drive number used.
> 
That's what I use in Color FOG to detect which drive it was started from, for
instance if you type RUN"FOG:3[Enter] the loader peeks at $EB, then changes the
default drive to match it, so all the support files can be found.

Bob






		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/



More information about the Coco mailing list