2 STARTADDRESS: default = $0200;
5 __STACKSIZE__: type = weak, value = $0400; # 1 kB stack
6 __HIMEM__: type = weak, value = $8000; # 32 kB RAM
9 # for size of ZP see runtime/zeropage.s and c1p/extzp.s
10 ZP: file = "", define = yes, start = $0002, size = $001A + $0006;
11 RAM: file = %O, define = yes, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
14 INIT: load = RAM, type = ro, define = yes, optional = yes;
15 CODE: load = RAM, type = rw;
16 RODATA: load = RAM, type = rw;
17 DATA: load = RAM, type = rw;
18 BSS: load = RAM, type = bss, define = yes;
19 ZEROPAGE: load = ZP, type = zp;