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

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-24 11:01:48
On Friday 24 August 2012, Spiro Trikaliotis wrote:
> 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.

+1 for that. for some things it would be *extremely* nice to have that, 
ideally in a form that can be assembled into a binary again. then i could 
finally implement some of my "global optimization" ideas properly (which right 
now requires re-implementing almost the complete linking stage, which sucks)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

It is more profitable for your congressman to support the tobacco industry 
than your life. 
<Jackie Mason>

----------------------------------------------------------------------
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 11:01:40 2012

This archive was generated by hypermail 2.1.8 : 2012-08-24 11:01:43 CEST