2 STARTADDRESS: default = $2E00;
5 __STACKSIZE__ = $800; # 2K stack
6 __RESERVED_MEMORY__: value = $0, weak = yes;
9 ZP: start = $0082, size = $007E, type = rw, define = yes;
10 HEADER: start = $0000, size = $0006, file = %O;
11 RAM: start = %S, size = $BC20 - __STACKSIZE__ - %S, file = %O;
12 TRAILER: start = $0000, size = $0006, file = %O;
15 EXEHDR: load = HEADER, type = ro;
16 LOWCODE: load = RAM, type = ro, define = yes, optional = yes;
17 INIT: load = RAM, type = ro, optional = yes;
18 CODE: load = RAM, type = ro, define = yes;
19 RODATA: load = RAM, type = ro;
20 DATA: load = RAM, type = rw;
21 ZPSAVE: load = RAM, type = bss;
22 BSS: load = RAM, type = bss, define = yes;
23 HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
24 ZEROPAGE: load = ZP, type = zp;
25 EXTZP: load = ZP, type = zp, optional = yes;
26 AUTOSTRT: load = TRAILER, type = ro;
29 CONDES: segment = INIT,
31 label = __CONSTRUCTOR_TABLE__,
32 count = __CONSTRUCTOR_COUNT__;
33 CONDES: segment = RODATA,
35 label = __DESTRUCTOR_TABLE__,
36 count = __DESTRUCTOR_COUNT__;
37 CONDES: type = interruptor,
39 label = __INTERRUPTOR_TABLE__,
40 count = __INTERRUPTOR_COUNT__;