[Coco] PEEKing the drive number?

Diego Barizo diegoba at adinet.com.uy
Sun Apr 10 21:33:14 EDT 2005


Thanks to both.
I did actually look inside the FOG loader, but I guess I got confused 
with the default drive and the last used drive.
Netscoco Beta 2 is almost ready ;-)

Diego

Robert Emery wrote:

>>>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