2 ZP: start = $0002, size = $001A, type = rw, define = yes;
3 RAM: start = $07FF, size = $C801, file = %O, define = yes;
6 EXEHDR: load = RAM, type = ro;
7 STARTUP: load = RAM, type = ro;
8 LOWCODE: load = RAM, type = ro, optional = yes;
9 INIT: load = RAM, type = ro, define = yes, optional = yes;
10 CODE: load = RAM, type = ro;
11 RODATA: load = RAM, type = ro;
12 DATA: load = RAM, type = rw;
13 ZPSAVE: load = RAM, type = bss;
14 BSS: load = RAM, type = bss, define = yes;
15 HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
16 ZEROPAGE: load = ZP, type = zp;
19 CONDES: segment = INIT,
21 label = __CONSTRUCTOR_TABLE__,
22 count = __CONSTRUCTOR_COUNT__;
23 CONDES: segment = RODATA,
25 label = __DESTRUCTOR_TABLE__,
26 count = __DESTRUCTOR_COUNT__;
27 CONDES: segment = RODATA,
29 label = __INTERRUPTOR_TABLE__,
30 count = __INTERRUPTOR_COUNT__;
33 __STACKSIZE__: value = $0800, weak = yes; # 2k stack