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;
}
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 {
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;