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 RAM: file = %O, start = $100D, size = $6FF3 - __STACKSIZE__;
13 LOADADDR: load = LOADADDR, type = ro;
14 EXEHDR: load = HEADER, type = ro;
15 STARTUP: load = RAM, type = ro;
16 LOWCODE: load = RAM, type = ro, optional = yes;
17 INIT: load = RAM, type = ro, define = yes, optional = yes;
18 CODE: load = RAM, type = ro;
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 ZEROPAGE: load = ZP, type = zp;
26 CONDES: segment = INIT,
28 label = __CONSTRUCTOR_TABLE__,
29 count = __CONSTRUCTOR_COUNT__;
30 CONDES: segment = RODATA,
32 label = __DESTRUCTOR_TABLE__,
33 count = __DESTRUCTOR_COUNT__;
34 CONDES: segment = RODATA,
36 label = __INTERRUPTOR_TABLE__,
37 count = __INTERRUPTOR_COUNT__;