Re: [cc65] Custom Config. Issue

From: Marc 'BlackJack' Rintsch <marc1rintsch.de>
Date: 2011-07-27 16:08:36
Hi Joseph,

> If I wanted to create a custom memory configuration requiring its own
> startup code, which file in the target's library file do I replace? 
> Cc65 used to provide start-up code separately from the system's
> library.  I think this was a good idea as it allows for multiple
> configurations on the same platform without creating another copy of
> the target's library.

The start up code can be found in `crt0.s`.  Each target system has it's 
own variant of this file.  IIRC you just have to make sure that your own 
start up code provides the exported symbols and is seen by the linker 
before the standard library's archive file.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
Die drei Todfeinde des Programmieres:
Sonnenlicht, frische Luft und das unerträgliche Gebrüll der Vögel.

----------------------------------------------------------------------
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 Jul 27 16:09:30 2011

This archive was generated by hypermail 2.1.8 : 2011-07-27 16:09:32 CEST