Re: [cc65] statics in zero page

Date view Thread view Subject view

From: Christian Krüger (christian.krueger_at_pace.de)
Date: 2002-05-21 16:49:19


Hi,

>  1. Most systems supported have very limited zeropage space. Adding zero
page
>     variables would be highly non portable, because one system has X bytes
of
>     zp space available, and the other one has Y bytes instead.

In my opinion the option is like 'register' ore 'inline' just a
recommendation
for the compiler to do things in users mind...
BTW: 'inline' would be a very neat cc65 enhancement, since there are many
disadvantages in using macros...

> 2. Only the linker can decide how much zero page space is available and if
>    the program uses more zero page space than available. Wouldn't you hate
>    a library that uses all of your precious zero page space?

Of course. I also think that things get a little bit more complicated for
the linker (what ZP's are necessary which are only nice to have...), but
from an other point of view: Why should I abstain from a little speed gain
if there is zero page space left?

>I had long discussions with Bastian42 a few years ago. BTW: Does anybody
know
>what happened to him? The Lynx cc65 has not been updated for quite some
time
>now...

He's alive, but has no time to keep track with the cc65 development. Today
I've got his permission to port and publish his Lynx libs when making them
compatible to the actual cc65.

Regards
chrisker
----------------------------------------------------------------------
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-05-21 16:49:29 CEST