Re: [cc65] Apple2 file io - here: memory management questions

From: Ullrich von Bassewitz <>
Date: 2004-07-31 19:01:46

On Sat, Jul 31, 2004 at 04:43:56PM +0200, Oliver Schmidt wrote:
> My understanding was that the linker could be possibly enhanced to allow for
> several altenative file i/o libraries "inside" one target. Probably one
> could oragnize the source files (directories etc) and make now in a way that
> it could make use of such a linker later ?

This is of course possible but I think it will complicate things in early
stages, because currently there is no such linker support. Adding directories
and possibly mutliple libraries to the apple2 target now needs additional

My suggestion is still to add file i/o support for a selected disk operating
without bells and whistles, but keeping in mind the discussion and what you
said about the different scenarios. Once this is done, file i/o can be used
and remaining design/code problems resolved. Such problems could be memory
issues, buffer allocation or whatever.

The next step would be to add the necessary hooks of the disk operating system
dependent routines where these hooks have not been supplied before. This step
would also include moving stuff to subdirectories to separate stuff that
depends on one disk i/o system from the common code.

The final step would be to add code for a second disk operating system and
polish the API in this process.

Please note however, that this is just the way, I would tackle the problem,
because I have learned that trying to solve too many problems at once will
often not work for me. If someone goes ahead, ignores all my talk and
implements all things at once, I will be happy about it. Different people have
different ways of achieving something, and doing it step by step is mine.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 31 19:01:51 2004

This archive was generated by hypermail 2.1.8 : 2004-07-31 19:01:59 CEST