Re: [cc65] Atari: Loading code with DOS 2.0 help? (LONG)

From: Greg King <>
Date: 2004-09-04 06:32:49
From: Ullrich von Bassewitz; on Date: Wed., August 11, 2004, at 03:02
AM -0400
> This message was forwarded from Chris Martin:
> > Also, does anyone know how to change the order in which .o files
> > are linked together.  I am trying to place a new character-set
> > at a specific location (ie., at the start of the DATA segment),
> > but the DATA that is in the "atari.o" is linked into this area first.
> > "Atari.o" contains about 26 bytes to be placed in the DATA segment.
> >
> > I normally can re-order the .o files on the command line,
> > but "atari.o" always is linked first.

The current cc65 package's design doesn't allow you to change that
behavior.  Instead, you must _avoid_ the problem, by using a custom ld65
configure-script.  Define your own segment (with the same "load="
attribute) immediately in front of the DATA segment; put your character-set
into that new segment.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Sep 4 07:09:37 2004

This archive was generated by hypermail 2.1.8 : 2004-09-04 07:09:47 CEST