1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

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).
This commit is contained in:
Oliver Schmidt
2018-02-10 11:29:50 +01:00
parent 4f3b47c3d7
commit b65981fc3a

View File

@@ -1,5 +1,5 @@
SYMBOLS { SYMBOLS {
__STACKSIZE__: type = weak, value = $0180; __STACKSIZE__: type = weak, value = $0040;
} }
MEMORY { MEMORY {
ZP: file = "", define = yes, start = $0020, size = $00E0; ZP: file = "", define = yes, start = $0020, size = $00E0;