Re: [cc65] Problems with ORG directive and linker

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-03-31 14:55:38
On Thu, Mar 31, 2011 at 08:13:38AM +0300, Karri Kaksonen wrote:
> But that is quite trivial to solve. Just change ORG's to SEGMENTS.
>
> .segment "ORG1234_0"
> lda #0
> ...
>
> .segment "ORG1234_1"
> .byte 5
>
> In the cfg file you then make all instances of these segments to
> start at $1234

That won't work, because the linker will not overlay the segments. 

Regarding the original question: I see no other chance than changing the code.

Regard


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Mar 31 14:55:46 2011

This archive was generated by hypermail 2.1.8 : 2011-03-31 14:55:49 CEST