2 STARTADDRESS: default = $0803;
5 ZP: start = $0080, size = $001A, define = yes;
6 HEADER: start = $0000, size = $0004, file = %O;
7 RAM: start = %S, size = $9600 - %S, file = %O, define = yes;
8 MOVE: start = $0000, size = $FFFF, file = %O, define = yes;
9 LC: start = $D400, size = $0C00, define = yes;
12 ZEROPAGE: load = ZP, type = zp;
13 EXEHDR: load = HEADER, type = ro;
14 STARTUP: load = RAM, type = ro;
15 LOWCODE: load = RAM, type = ro;
16 CODE: load = RAM, type = ro;
17 RODATA: load = RAM, type = ro;
18 DATA: load = RAM, type = rw;
19 BSS: load = RAM, type = bss, define = yes;
20 INIT: load = MOVE, run = RAM, type = ro, define = yes;
21 HIGHCODE: load = MOVE, run = LC, type = ro, optional = yes;
24 CONDES: segment = INIT,
26 label = __CONSTRUCTOR_TABLE__,
27 count = __CONSTRUCTOR_COUNT__;
28 CONDES: segment = RODATA,
30 label = __DESTRUCTOR_TABLE__,
31 count = __DESTRUCTOR_COUNT__;
32 CONDES: type = interruptor,
34 label = __INTERRUPTOR_TABLE__,
35 count = __INTERRUPTOR_COUNT__;
38 __STACKSIZE__ = $0800; # 2k stack