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

From: Ullrich von Bassewitz <>
Date: 2004-07-31 13:23:06
On Thu, Jul 29, 2004 at 09:09:47PM -0400, jim wrote:
> The crt0.s is per library - there really is nothing stopping us from
> adding a jsr to a __filecleanup which can close files and "quit" instead
> of a "JMP RESTOR" or back to basic.  The DOS 3.3 cleanup would be back
> to basic.

Doing file cleanup can be done by means of a constructor. Terminating the
program can be done via an external reference in crt0.s, which is satisfied
from the file i/o library.



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 13:23:12 2004

This archive was generated by hypermail 2.1.8 : 2004-07-31 13:23:20 CEST