Re: [cc65] Uniform mass storage device discovery and file locations

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-15 16:41:46
On Wednesday 15 August 2012, you wrote:
> Hi,
> 
> > My approach would be to just return the standard devices for the
> > platform, not showing drives at all.
> 
> What are the "standard devices" for the platform?
> 
> We using GEOS in VICE with one drive (device 8) it only shows disk 'A'
> but when configuring two drives (devices 8 and 9) then it shows disks
> 'A' and 'B'. Is this really "magic"?

standard is device number 8 for disk, 4 for printer, 1 for tape. i would 
completely ignore anything but 8, but thats just me :) (and the lib already 
sets _curdrive to the last used device number, ie the one the program was 
loaded from, afaik)

here is an example on how to enumerate the drives on the IEC bus: 
http://codebase64.org/doku.php?id=base:detect_drives_on_iec_bus ... however, 
its so complex and so few programs would actually benefit from it, i wouldnt 
include something like that in the library.

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

I don't want any yes-men around me. I want everybody to tell me the truth even 
if it costs them their jobs. 
<Samuel Goldwyn>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Aug 15 16:42:27 2012

This archive was generated by hypermail 2.1.8 : 2012-08-15 16:42:31 CEST