Re: [cc65] scratch files on C64 or file spec and drive numbers

From: Mark J. Reed <markjreed1gmail.com>
Date: 2008-09-27 13:35:17
Sorry, but why are we talking about adding extra overhead here?  I
thought cc65 was a C compiler, not an emulation layer.  Why should the
C interface add features not present in the assembly interface?

Commodores have always addressed files on disk the same way they
address anything else on the serial bus: by unit number and string
(filename); the unit number is used as the bus address and the
filename parsing is up to the disk drive.  Traditional Commodore disk
drives have a DOS that understands a leading drive number (originally
just 0 or 1 for dual-drive units) in the filename, and later BASICs
(4.x, I think;  7.x for sure) will construct such a filename based on
a separate drive number parameter, but that's always been wholly
independent of the disk drive's bus address (unit number).
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Sep 27 13:35:25 2008

This archive was generated by hypermail 2.1.8 : 2008-09-27 13:35:27 CEST