From b65981fc3a0d4a7903c9b2800b03959c9f368b89 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sat, 10 Feb 2018 11:29:50 +0100 Subject: [PATCH] Reduced default stack size to a reasonable value. The unexpanded Creativision has only $206 bytes of RAM available to cc65 programs. So it's a bad idea(tm) to reserve $180 bytes for the software stack. $40 bytes seems a much better default (aka guess). --- cfg/creativision.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/creativision.cfg b/cfg/creativision.cfg index 289984df0..2eb9ac427 100644 --- a/cfg/creativision.cfg +++ b/cfg/creativision.cfg @@ -1,5 +1,5 @@ SYMBOLS { - __STACKSIZE__: type = weak, value = $0180; + __STACKSIZE__: type = weak, value = $0040; } MEMORY { ZP: file = "", define = yes, start = $0020, size = $00E0; -- 2.39.5