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 RAM: 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 EXEHDR: load = HEADER, type = rw;
17 STARTUP: load = STARTUP, type = rw;
18 PAGE2: load = PAGE2, type = rw;
19 PAGE3: load = PAGE3, type = rw;
20 LOWCODE: load = RAM, type = ro, optional = yes;
21 INIT: load = RAM, type = ro, define = yes, optional = yes;
22 CODE: load = RAM, type = ro;
23 RODATA: load = RAM, type = ro;
24 DATA: load = RAM, type = rw;
25 BSS: load = RAM, type = bss, define = yes;
26 ZEROPAGE: load = ZP, type = zp;
27 EXTZP: load = ZP, type = rw, define = yes;
30 CONDES: type = constructor,
31 label = __CONSTRUCTOR_TABLE__,
32 count = __CONSTRUCTOR_COUNT__,
34 CONDES: type = destructor,
35 label = __DESTRUCTOR_TABLE__,
36 count = __DESTRUCTOR_COUNT__,
38 CONDES: type = interruptor,
39 label = __INTERRUPTOR_TABLE__,
40 count = __INTERRUPTOR_COUNT__,