From: Stefan Date: Mon, 18 Dec 2017 18:19:59 +0000 (+0100) Subject: Optimizing the stack size X-Git-Tag: V2.17~54^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98e2b79ef4f25aa1c8158c95e5f14f1733fb74be;p=cc65 Optimizing the stack size --- 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;