2 __LOADADDR__: type = import;
3 __EXEHDR__: type = import;
4 __STACKSIZE__: type = weak, value = $0800; # 2k stack
7 ZP: file = "", define = yes, start = $0002, size = $001A;
8 LOADADDR: file = %O, start = $0FFF, size = $0002;
9 HEADER: file = %O, start = $1001, size = $000C;
10 MAIN: file = %O, start = $100D, size = $6FF3 - __STACKSIZE__;
13 ZEROPAGE: load = ZP, type = zp;
14 LOADADDR: load = LOADADDR, type = ro;
15 EXEHDR: load = HEADER, type = ro;
16 STARTUP: load = MAIN, type = ro;
17 LOWCODE: load = MAIN, type = ro, optional = yes;
18 ONCE: load = MAIN, type = ro, optional = yes;
19 CODE: load = MAIN, type = ro;
20 RODATA: load = MAIN, type = ro;
21 DATA: load = MAIN, type = rw;
22 INIT: load = MAIN, type = bss;
23 BSS: load = MAIN, type = bss, define = yes;
26 CONDES: type = constructor,
27 label = __CONSTRUCTOR_TABLE__,
28 count = __CONSTRUCTOR_COUNT__,
30 CONDES: type = destructor,
31 label = __DESTRUCTOR_TABLE__,
32 count = __DESTRUCTOR_COUNT__,
34 CONDES: type = interruptor,
35 label = __INTERRUPTOR_TABLE__,
36 count = __INTERRUPTOR_COUNT__,