Re: [cc65] Problems with ORG directive and linker

From: Groepaz <groepaz1gmx.net>
Date: 2011-03-30 19:22:40
On Mittwoch 30 März 2011, you wrote:
> But that's a bit of a hack -- it only works if the source code is in
> ascending memory order, without .ORGs going back from where you are.
> 
> Unfortunately this is not the case with the code I'm working on, so
> the .RES will end up with a negative number of bytes to reserve
> sometimes, which doesn't work.
> 
> I presume I'm a bit screwed, then...

yes, in this case you have to create a linker script and proper sections

-- 

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

In headlines today, the dreaded killfile virus spread across the country 
adding 'aol.com' to people's Usenet kill files everywhere. The programmer of 
the virus still remains anonymous, but has been nominated several times for a 
Nobel peace prize. 
<Mark Atkinson>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Mar 30 19:22:50 2011

This archive was generated by hypermail 2.1.8 : 2011-03-30 19:22:52 CEST