From: Oliver Schmidt
Date: Sat, 10 Feb 2018 10:29:50 +0000 (+0100)
Subject: Reduced default stack size to a reasonable value.
X-Git-Tag: V2.17~21
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b65981fc3a0d4a7903c9b2800b03959c9f368b89;p=cc65
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).
---
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;