Re: [cc65] Emitting data into segments defined in an interleaved way, while maintaining addresses?

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2012-08-24 08:35:37
Hello,

* On Thu, Aug 23, 2012 at 08:16:29PM -0400 David Schmidt wrote:
> On 8/23/2012 5:10 PM, Ullrich von Bassewitz wrote:
> >What I would look for is a .ORG statement somewhere. This would explain what
> >you're seeing.
> 
> Confirmed.  Without an .org, it assembles and links correctly.  The
> tradeoff is that I get a lot of "rr rr" addresses in the listing,
> which makes debugging on the iron more difficult, since resolving
> those rr's to real addresses takes more steps.

Yes, I have exactly the same problem.

I ask myself if

1. one could take the assembly output and use the data from
   the mapfile to "fix" the assembly output, or

2. hack ld65 to produce the assembly output (or hack it, as above)

so one has an assembly listing resembling the real memory layout.

Just dreaming... ;)

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Aug 24 08:36:06 2012

This archive was generated by hypermail 2.1.8 : 2012-08-24 08:36:09 CEST