1 # Configuration allowing for 4KB of HIGHCODE optimized for programs
2 # loaded with LOADER.SYSTEM and calling rebootafterexit()
5 STARTADDRESS: default = $0800;
8 ZP: start = $0080, size = $001A, define = yes;
9 HEADER: start = $0000, size = $0004, file = %O;
10 RAM: start = %S, size = $BF00 - %S, file = %O, define = yes;
11 MOVE: start = $0000, size = $FFFF, file = %O, define = yes;
12 LC: start = $D000, size = $1000, define = yes;
15 ZEROPAGE: load = ZP, type = zp;
16 EXEHDR: load = HEADER, type = ro;
17 STARTUP: load = RAM, type = ro;
18 LOWCODE: load = RAM, type = ro;
19 CODE: load = RAM, type = ro;
20 RODATA: load = RAM, type = ro;
21 DATA: load = RAM, type = rw;
22 ZPSAVE: load = RAM, type = bss, define = yes;
23 BSS: load = RAM, type = bss, define = yes;
24 INIT: load = MOVE, run = RAM, type = ro, define = yes;
25 HIGHCODE: load = MOVE, run = LC, type = ro, optional = yes;
28 CONDES: segment = INIT,
30 label = __CONSTRUCTOR_TABLE__,
31 count = __CONSTRUCTOR_COUNT__;
32 CONDES: segment = RODATA,
34 label = __DESTRUCTOR_TABLE__,
35 count = __DESTRUCTOR_COUNT__;
36 CONDES: type = interruptor,
38 label = __INTERRUPTOR_TABLE__,
39 count = __INTERRUPTOR_COUNT__;
42 __STACKSIZE__ = $0800; # 2k stack