Re: [cc65] Relocating RODATA

From: Ullrich von Bassewitz <>
Date: 2011-04-23 19:55:54

On Sat, Apr 23, 2011 at 09:45:39AM -0700, Stefan Wessels wrote:
> I have this line in SEGMENTS:
>   RODATA:   load = RAM,      type = ro, define = yes;
> Notice that __RODATA_LOAD__ and __RODATA_RUN__ both came out to be $8000.  I see the text at around $3a00 (somewhere around there is where I would think _RODATA_LOAD would be).  The Snake.prg file is 14818 bytes meaning it didn't load past 0x41E3 so something went wrong.
> Anyone see where I went wrong, or is the problem somewhere else?

You don't have a run=xxx attribute for the RODATA segment, so it defaults to
be identical to the load memory area. Which in turn means that load and run
addresses are the same.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Apr 23 20:00:00 2011

This archive was generated by hypermail 2.1.8 : 2011-04-23 20:00:03 CEST