2 __LOADADDR__: type = import;
3 __STACKSIZE__: type = weak, value = $0800; # 2k stack
6 ZP: file = "", define = yes, start = $0002, size = $001A;
7 LOADADDR: file = %O, start = $07FF, size = $0002;
8 HEADER: file = %O, start = $07FF, size = $000E;
9 RAM: file = %O, define = yes, start = $080D, size = $C7F3 - __STACKSIZE__;
12 LOADADDR: load = LOADADDR, type = ro;
13 EXEHDR: load = HEADER, type = ro;
14 STARTUP: load = RAM, type = ro;
15 LOWCODE: load = RAM, type = ro, optional = yes;
16 INIT: load = RAM, type = ro, define = yes, optional = yes;
17 CODE: load = RAM, type = ro;
18 RODATA: load = RAM, type = ro;
19 DATA: load = RAM, type = rw;
20 ZPSAVE: load = RAM, type = bss;
21 BSS: load = RAM, type = bss, define = yes;
22 ZEROPAGE: load = ZP, type = zp;
25 CONDES: segment = INIT,
27 label = __CONSTRUCTOR_TABLE__,
28 count = __CONSTRUCTOR_COUNT__;
29 CONDES: segment = RODATA,
31 label = __DESTRUCTOR_TABLE__,
32 count = __DESTRUCTOR_COUNT__;
33 CONDES: segment = RODATA,
35 label = __INTERRUPTOR_TABLE__,
36 count = __INTERRUPTOR_COUNT__;