[cc65] Zeropage Regbank

From: Shawn Jefferson <sjefferson1shaw.ca>
Date: 2009-02-03 07:48:21
How difficult, or possible would it be to allow the zeropage regbank size to
be specified in the linker config script, or via a pragma command?  On the
Atari platform there is about 60-70 bytes of free zeropage for use, and I'd
like to easily use them for local variables without the complexity of
allocating and managing them myself.

 

I know there is some overhead in saving and restoring the zeropage
variables, and at some point doing this negates the benefit you get.  It
would be nice if the compiler could tell you when that is the case or not as
well, but that may be much more difficult.

 

 



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 3 07:48:28 2009

This archive was generated by hypermail 2.1.8 : 2009-02-03 07:48:31 CET