Re: [cc65] STACKSIZE - What's the right size?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-02-06 00:20:19
On Fri, Feb 06, 2009 at 01:10:36AM +0200, Karri Kaksonen wrote:
> I had no idea that the config files had an option %S. 

See the the description of the STARTADDRESS feature:

        http://www.cc65.org/doc/ld65-5.html#ss5.9

> Is it also possible to calculate segments relative to another segment?
>
>       RAM:              start = %S,    size = $BC20 - __STACKSIZE__ - %S, file = %O;
>       MUSIC:           start = %S,    size = RAM_START - %S, file = %O;
>       GRAPHICS:     start = %S,    size = MUSIC_START - %S, file = %O;

I think you are confusing segments and memory areas here.

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 Fri Feb 6 00:23:28 2009

This archive was generated by hypermail 2.1.8 : 2009-02-06 00:23:30 CET