Re: [cc65] CBM disk write problems

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-12-17 00:40:49


On Wednesday 17 December 2003 00:20, Johan Kotlinski wrote:
> Hi Uz!
>
> > On Tue, Dec 16, 2003 at 01:44:46AM +0100, Johan Kotlinski wrote:
> > > I have a problem with saving to 1541, however. When saving to a file
> > > the first time, everything works great. But the second time I call my
> > > routine, it just doesn't work. I checked the archives and found out
> > > that someone had the
> >
> > This is not a cc65 problem, but a CBM problem. You will have to scratch
> > the file before writing it, otherwise you may get a "file exists" error.
>
> Well, I tried scratching aswell, but the same problem... Then I tried
> writing it in assembler, and it worked. So this suggests there is a problem
> with the wrapper after all. If you are interested, here are the two (in my
> eyes equavilent) routines...

overwriting files using the "@:name" notation might be blocked, since its buggy
(in the 1541s DOS) and thus not recommended. well however, scratch the file
manually, then save normally.

gpz

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-12-17 00:37:03 CET