[Coco] Valid file names for Disk BASIC

Robert Gault robert.gault at att.net
Fri Apr 8 20:57:15 EDT 2016


Mathieu Bouchard wrote:
>
> Well, if in practice "0" works, then it must be an error in the manual, probably
> from confusion with a byte containing the value 0, which is what CHR$(0) gives you.
>
> See in DECB manual, page n˚59, top-left, it says that if the first char is
> CHR$(0), the it means a deleted file, and if it's CHR$(255), it means a slot
> never used since formatting.
>
>

Mathieu,

You are confusing disk names with the content of track17, sector3 on a floppy. 
You can put an ascii 0 in a name but that is quite different from a $00 as the 
first byte of a name in a disk directory.

Robert




More information about the Coco mailing list