Re: [cc65] Directory/Drive functions

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-06-11 22:37:35


On Wednesday 11 June 2003 22:21, Ullrich von Bassewitz wrote:

> My suggestion would be to ask the following question (in fact, this is the
> question, I've asked when deciding if a save/restore of other variables is
> necessary): Is there a need to save and restore this variable? If not, why
> bother? Or better: Why waste code on it? I've put quite some work in
> sqeezing out bytes from library functions. Why should we waste code in
> other areas? IMHO "because there's no reason not do do it" is not a good
> reason.

indeed. it may look like a good idea at first, but it would just introduce 
bloat to many programs. (i would personally even go one step further and 
remove the cleanup code alltogether and have the program loop infinitely or 
reset at exit like most other c64 programs do).

and if you decide that you would like to restore this (and maybe more) 
variables, you can still link some own code to your programs easily and 
without much effort.

gpz

just for curiousity...what kind of tool/program is that what you think could  
nead such threatment? and why wouldnt you have it loop infinitely and provide 
an "exit" option rather than restarting it by "run"?
----------------------------------------------------------------------
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-06-11 22:39:59 CEST