2 ZP: start = $00, size = $100, type = rw, define = yes;
3 HEADER: start = $0000, size = $A, file = %O;
4 RAM: start = $0400, size = $BA3F, define = yes, file = %O;
7 EXEHDR: load = HEADER, type = wprot;
8 STARTUP: load = RAM, type = wprot;
9 LOWCODE: load = RAM, type = wprot, optional = yes;
10 CODE: load = RAM, type = wprot;
11 RODATA: load = RAM, type = wprot;
12 DATA: load = RAM, type = rw;
13 BSS: load = RAM, type = bss, define = yes;
14 ZEROPAGE: load = ZP, type = zp;
15 EXTZP: load = ZP, type = zp;
18 CONDES: segment = RODATA,
20 label = __CONSTRUCTOR_TABLE__,
21 count = __CONSTRUCTOR_COUNT__;
22 CONDES: segment = RODATA,
24 label = __DESTRUCTOR_TABLE__,
25 count = __DESTRUCTOR_COUNT__;
26 CONDES: segment = RODATA,
28 label = __INTERRUPTOR_TABLE__,
29 count = __INTERRUPTOR_COUNT__;
32 __STACKSIZE__ = $800; # 2K stack