Hello Oliver, * On Fri, Aug 10, 2012 at 02:44:23PM +0200 Oliver Schmidt wrote: > "A drive may only be specified together with a unit." > > This would mean: > > "4:abc.txt" means unit 4. > "4:6:abc.txt means unit 4 drive 6. > > The parser for this scheme would even be somewhat simple than for the > one I suggested before. You know that the device number must be parsed on the computer side, but the drive number is parsed on the floppy side? Also, there can be an at before the drive number ("4:@0:...") > All these thoughts based on the presumption that there isn no second > char beside ':' that can be reserved for unit separation purposes. Well, there are chars with specific meanings in the floppy (":", "@", "#", Shift+Space (0xA0) - I'd have to check sources to find out if there are more of them). The only one that cannot occur in a file name for sure is Shift+Space, because that's the char the floppy uses to fill names that are smaller than the maximum. Thus, the first Shift+SPACE-Char is not part of the filename anymore. (But, this can be abused in other ways...) Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Aug 10 16:28:41 2012
This archive was generated by hypermail 2.1.8 : 2012-08-10 16:28:45 CEST