Re: [cc65] Filenames for POSIX functins on CBM targets

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-12 01:06:51
On Sunday 12 August 2012, you wrote:
> On 2012-08-12, at 00:27, Groepaz wrote:
> >>>> the @ sign means "overwrite"
> >>>> 
> >>>> save "test",8
> >>>> save "test",8    (again - gives "file exists")
> >>>> save "@:test",8   will overwrite the existing file
> >>> 
> >>> save "@test",8 is enough. Your "save @:test",8 is equivalent to save
> >>> "@0:test",8, which is something different on dual-disk drives (the
> >>> first version writes to the last accessed drives, your version always
> >>> to drive 0).
> >> 
> >> Which was one of the ways to avoid the (in)famous bug.
> > 
> > not at all, the bug is completely unrelated to the drive number.
> 
> Always using drive number allowed to avoid the bug. I vaguely recall
> verifying this (after reading about this method in a magazine) using the
> triggering method published there too.

you are recalling wrong. specifying the drive number only works around one of 
the bugs, the drive will still screw up if there isnt enough space on the disk 
:)
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 12 01:32:04 2012

This archive was generated by hypermail 2.1.8 : 2012-08-12 01:32:07 CEST