2 __LOADADDR__: type = import;
3 __EXEHDR__: type = import;
4 __STACKSIZE__: type = weak, value = $0400; # 1k 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, define = yes, start = $100D, size = $0DF3 - __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: 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__,