Re: [cc65] File I/O on C64

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-11-18 13:36:27


On Mon, Nov 18, 2002 at 01:02:28PM +0100, MagerValp wrote:
> UvB> With this addition (that will improve performance), using CBM
> UvB> file i/o together with C file i/o will no longer work. Please
> UvB> note that C file i/o does also mean a simple printf! If you need
> UvB> CBM file i/o, you will have to use conio only. I'm sorry about
> UvB> that, but there's no easy workaround.
>
> Argh! Oh well, ssdisk needs to be rewritten anyway...

It's not as bad as I thought in the first place: For one, I can give a range
of logical file numbers that are not used by the C library. A program using
CBM file I/O will have to use logical file numbers from this range. This is a
minor limitation I think. Second, after some thought, I doubt that my
"optimization" will really work without problems. For now, I will leave it as
is, and try it only if there are problems with file i/o speed. 

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 : 2002-11-18 13:36:35 CET