[cc65] Extra Zero-page Segments

From: Greg King <greg.king41verizon.net>
Date: 2010-02-18 05:13:20
From: "Ullrich von Bassewitz"; on Wed., Feb. 17, 2010; at 05:39 PM -0500
Subject: Re: [cc65] Customization of cc65 for new targets
>
> On Wed, Feb 17, 2010 at 08:53:51PM +0100, Oliver Schmidt wrote:
> > If the guide targets not only bare-metal [or rather,
> > bare-virtual-metal, in your case ;-)] developers, I'd really like
> > to see the zero-page memory-area size reduced from $100 to $1A.
>
> $1A bytes is the minimum size in the standard configuration.  Some
> platforms have more than that space available, and use it for an EXTZP
> segment.

I am not happy about that!  The compiler has "stolen" the ZEROPAGE
segment.  When we want to do something in the zero-page, we are forced
to create special segments (and, invent names for them).  I prefer that
it be the other way around.  The compiler should have its
pseudo-registers in a special segment ("CC65ZP", perhaps).  Then, we
assembly programmers can take advantage of CA65's easy-to-remember,
easy-to-summon, built-in .zeropage directive whenever we want to use the
zero-page!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Feb 18 05:15:19 2010

This archive was generated by hypermail 2.1.8 : 2010-02-18 05:15:22 CET