Hi, > From: owner-cc65@musoftware.de [mailto:owner-cc65@musoftware.de] On Behalf > Of Christian Grössler > > Do you know how to find out which type of disk (and therefore the amount > of > sectors on it) is inserted? I can only think of one way that would work across all DOSes, and all types of disks (after all, you may want to have a disk copy routine that copies a boot disk, or oddly sized ATR file). The only way I can think of is to just try and read sectors until you find the last one-not the greatest method. Perhaps you could try to request the percom block, but I don't think every device will provide that, so you can't rely on it necessarily. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Oct 18 01:27:50 2012
This archive was generated by hypermail 2.1.8 : 2012-10-18 01:27:53 CEST