Re: [cc65] Extra Zero-page Segments

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-02-18 08:47:14
Good morning!

On Wed, Feb 17, 2010 at 11:13:20PM -0500, Greg King wrote:
> 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!

Typing 

        .segment "EXTZP"

instead of

        .zeropage

when interfacing with C code won't kill anyone. Or will it? :-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 08:47:20 2010

This archive was generated by hypermail 2.1.8 : 2010-02-18 08:47:22 CET