Re: [cc65] C64 and "STARTADDRESS" ?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-11-18 19:10:25
Hi!

On Wed, Nov 17, 2010 at 07:41:40PM +0100, Marc 'BlackJack' Rintsch wrote:
> Would it be possible somehow to detect if the start address (default) is
> at $0801 and if it's not skipping the BASIC stub?  I guess not because
> the crts0.o is already compiled and in put in the library file, so it is
> not possible to use conditionally assembly based on the value of the
> start address, right?

No and yes. But I do also think that such an automatism is not a good idea.

> The possibility to compile C programs without a BASIC stub to any given
> start adress without the need to write a config file or a new crts0.s
> would be nice.

With a few small changes in the config, it is possible to let the user supply
an empty SYS header, which replaces the one from the library. On the other
side: Someone who understands how this works has no problem writing a new
config.

Regards


        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 Nov 18 19:10:32 2010

This archive was generated by hypermail 2.1.8 : 2010-11-18 19:10:37 CET