Re: [cc65] ca65 question

From: Marc 'BlackJack Rintsch <marc1rintsch.de>
Date: 2008-01-21 08:53:32
On Monday 21 January 2008, silverdr@inet.com.pl wrote:

> I don't initialise "C software stack and the libraries" here. I just
> want the file to be assembled and load into the address I want it to.
> What if I wanted it to load at a different address - say $5000? I
> assume .segment "STARTUP" wouldn't help there..
>
> Please enlighten me what am I doing wrong here.

Don't use ``.ORG`` to set the address but use a linker config file for 
placing segments.  Now you are using the default C config file which 
wants a ``STARTUP`` segment.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
public CountSheep () : int
    def count (n)
        if (asleep) n else count (n + 1);
    count (0);

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jan 21 08:53:53 2008

This archive was generated by hypermail 2.1.8 : 2008-01-21 08:53:56 CET