On Wednesday 15 August 2012 13:18:20 you wrote: > Given that there's no other feedback that seems to be a good idea... Yet, the CBM devices already have internal drives. > long so now short and crisp: Is there on the CBM machines a reasonable > way to enumerate the devices suitable for mass storage? Short and crisp answer: no. Longer answer: you could of course scan the bus with the "usual" device numbers, read the device type by sending a "UI" command and reading the status channel (which gives something like 73,VC1541....,00,00) - from which you could look up in a database how many drives are on the device. So, no. And then, scanning the bus at the beginning might not be enough - drives can be switched on/off. So it would have to be done every time the list of devices is requested. My approach would be to just return the standard devices for the platform, not showing drives at all. IIRC the CBM dual drives search both drives for a file on open, and use the last used drive if none is given on a create - so no real problem here. André ---------------------------------------------------------------------- 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 13:52:11 2012
This archive was generated by hypermail 2.1.8 : 2012-08-15 13:52:15 CEST