Re: [cc65] CBM disk write problems

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-12-16 11:47:36


Hi!

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
> same problem in 2002, but there was no real solution posted. So I write this
> mail to check if there is anyone who has gained more experience since then.

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.

Or you may use standard C file I/O, in which case the library will do the
necessary stuff for you.

Regards


	Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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-16 11:47:57 CET