Re: [cc65] Problems with Atari zeropage variables

From: Christian Groessler <chris1groessler.org>
Date: 2005-07-23 00:55:43
Hi,

On Fri, 22 Jul 2005, Greg King wrote:

> From: Fatih Aygün; on Date: July 22, 2005, at 06:45 AM -0400
> >
> > While working on Atari TGI drivers, I noticed that the
> > addresses of the runtime zeropage variables in the
> > module don't match with the addresses in the main program.
> > There is a 6-byte "shift".
> >
> > It seems that the cause is the file "read.s". In that
> > file, some zeropage variables are defined. I think that
> > they should be linked AFTER the runtime zeropage
> > variables, otherwise the zeropage mapping logic with
> > the modules won't work. Or, maybe they can be mapped
> > to standard runtime variables.
>
> Several of the platforms have that problem.  They solve it by putting their
> extra zero-page variables into another segment called "EXTZP".

I've added the EXTZP segment to the Atari config and changed read.s to put
its zeropage variables there.
It should appear in the next cvs snapshot.

regards,
chris


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 23 00:56:01 2005

This archive was generated by hypermail 2.1.8 : 2005-07-23 00:56:03 CEST