From 98e2b79ef4f25aa1c8158c95e5f14f1733fb74be Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 18 Dec 2017 19:19:59 +0100 Subject: [PATCH] Optimizing the stack size --- cfg/c16.cfg | 2 +- cfg/creativision.cfg | 2 +- cfg/vic20-32k.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cfg/c16.cfg b/cfg/c16.cfg index 8016c6d0f..41545d473 100644 --- a/cfg/c16.cfg +++ b/cfg/c16.cfg @@ -1,7 +1,7 @@ SYMBOLS { __LOADADDR__: type = import; __EXEHDR__: type = import; - __STACKSIZE__: type = weak, value = $0800; # 2k stack + __STACKSIZE__: type = weak, value = $0400; # 1k stack } MEMORY { ZP: file = "", define = yes, start = $0002, size = $001A; diff --git a/cfg/creativision.cfg b/cfg/creativision.cfg index 9e4ecd8ce..289984df0 100644 --- a/cfg/creativision.cfg +++ b/cfg/creativision.cfg @@ -3,7 +3,7 @@ SYMBOLS { } MEMORY { ZP: file = "", define = yes, start = $0020, size = $00E0; - RAM: file = "", define = yes, start = $01FA, size = $0206; + RAM: file = "", define = yes, start = $01FA, size = $0206 - __STACKSIZE__; ROM: file = %O, define = yes, start = $B000, size = $1000, fill = yes, fillval = $FF; } SEGMENTS { diff --git a/cfg/vic20-32k.cfg b/cfg/vic20-32k.cfg index 28dd661ad..fe53d46ab 100644 --- a/cfg/vic20-32k.cfg +++ b/cfg/vic20-32k.cfg @@ -3,7 +3,7 @@ SYMBOLS { __LOADADDR__: type = import; __EXEHDR__: type = import; - __STACKSIZE__: type = weak, value = $0400; # 1k stack + __STACKSIZE__: type = weak, value = $0800; # 2k stack } MEMORY { ZP: file = "", define = yes, start = $0002, size = $001A; -- 2.39.5