Re: [cc65] Own parameter call stack?

From: Karri Kaksonen <karri1sipo.fi>
Date: 2009-09-01 18:53:48
I hope this does not show up twice on the list.

Are we talking about the C-stack?

In my Atari Lynx 20 years anniversary (it is today 1st of September, 
2009) I use 0x800 for the stack. The solitaire games have some recursion 
and sometime the call chain for finding out if a move is legal or not 
goes deep. What is worse still is that I cannot even have multiple 
threads. So I use a deep stack instead for calling background music 
updates and also background drawing routines from several time intensive 
places in the code.

So I really use almost all stack that is available. 256 bytes would not 
be enough.

In case you want to have a look at a really big cc65 project (the source 
is also included) in 
http://www.atariage.com/forums/topic/121303-solitare-card-games-for-the-lynx/page__view__findpost__p__1827706 


It is a single executable where the binary size is 256k. All linked 
together with the wonderful cc65 linker.

I am not for any stack size limitations.
-- 
Karri


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 1 18:54:02 2009

This archive was generated by hypermail 2.1.8 : 2009-09-01 18:54:04 CEST