2 ZP: start = $0000, size = $0001F, type = rw, define = yes;
3 RAM: start = %S, size = $10000, file = %O;
6 LOWCODE: load = RAM, type = ro, optional = yes;
7 INIT: load = RAM, type = ro, define = yes, optional = yes;
8 CODE: load = RAM, type = rw;
9 RODATA: load = RAM, type = rw;
10 DATA: load = RAM, type = rw;
11 BSS: load = RAM, type = bss, define = yes;
12 HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
13 ZEROPAGE: load = ZP, type = zp;
16 CONDES: segment = INIT,
18 label = __CONSTRUCTOR_TABLE__,
19 count = __CONSTRUCTOR_COUNT__;
20 CONDES: segment = RODATA,
22 label = __DESTRUCTOR_TABLE__,
23 count = __DESTRUCTOR_COUNT__;
24 CONDES: type = interruptor,
26 label = __INTERRUPTOR_TABLE__,
27 count = __INTERRUPTOR_COUNT__;
30 __STACKSIZE__: value = $0800, weak = yes; # 2k stack