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 STARTUP: load = RAM, type = ro;
15 LOWCODE: load = RAM, type = ro, optional = yes;
16 INIT: load = RAM, type = ro, define = yes, optional = yes;
17 CODE: load = RAM, type = rw;
18 RODATA: load = RAM, type = rw;
19 DATA: load = RAM, type = rw;
20 BSS: load = RAM, type = bss, define = yes;
21 ZEROPAGE: load = ZP, type = zp;
22 EXTZP: load = ZP, type = rw, define = yes;
25 CONDES: type = constructor,
26 label = __CONSTRUCTOR_TABLE__,
27 count = __CONSTRUCTOR_COUNT__,
29 CONDES: type = destructor,
30 label = __DESTRUCTOR_TABLE__,
31 count = __DESTRUCTOR_COUNT__,