2 # The stack starts from $FEC3 and grows towards the video ram
3 __STACKSIZE__: type = weak, value = $06C3; # ~1.5k stack
6 HEADER: file = %O, start = $0001, size = $0050, fill = yes;
7 ZP: file = %O, define = yes, start = $0051, size = $00AD, fill = yes;
8 STARTUP: file = %O, start = $00FE, size = $0102, fill = yes;
9 PAGE2: file = %O, start = $0200, size = $0100, fill = yes;
10 PAGE3: file = %O, start = $0300, size = $0100, fill = yes;
11 MAIN: file = %O, start = $0400, size = $DC00;
12 CHARRAM: file = "", define = yes, start = $E000, size = $1000;
13 VIDRAM: file = "", define = yes, start = $F000, size = $0400;
16 ZEROPAGE: load = ZP, type = zp;
17 EXTZP: load = ZP, type = rw, define = yes;
18 EXEHDR: load = HEADER, type = rw;
19 STARTUP: load = STARTUP, type = rw;
20 PAGE2: load = PAGE2, type = rw;
21 PAGE3: load = PAGE3, type = rw;
22 LOWCODE: load = MAIN, type = ro, optional = yes;
23 ONCE: load = MAIN, type = ro, optional = yes;
24 CODE: load = MAIN, type = ro;
25 RODATA: load = MAIN, type = ro;
26 DATA: load = MAIN, type = rw;
27 INIT: load = MAIN, type = bss, optional = yes;
28 BSS: load = MAIN, type = bss, define = yes;
31 CONDES: type = constructor,
32 label = __CONSTRUCTOR_TABLE__,
33 count = __CONSTRUCTOR_COUNT__,
35 CONDES: type = destructor,
36 label = __DESTRUCTOR_TABLE__,
37 count = __DESTRUCTOR_COUNT__,
39 CONDES: type = interruptor,
40 label = __INTERRUPTOR_TABLE__,
41 count = __INTERRUPTOR_COUNT__,