2 __STACKSIZE__: type = weak, value = $0800; # 2k stack
3 __STARTOFDIRECTORY__: type = weak, value = $019A; # start just after loader
4 __BLOCKSIZE__: type = weak, value = 1024; # cart block size
7 ZP: file = "", define = yes, start = $0000, size = $0100;
8 HEADER: file = %O, start = $0000, size = $021e;
9 RAM: file = %O, define = yes, start = $0400, size = $BC38 - __STACKSIZE__;
12 EXEHDR: load = HEADER, type = ro;
13 STARTUP: load = RAM, type = ro, define = yes;
14 LOWCODE: load = RAM, type = ro, optional = yes;
15 INIT: load = RAM, type = ro, define = yes, optional = yes;
16 CODE: load = RAM, type = ro, define = yes;
17 RODATA: load = RAM, type = ro, define = yes;
18 DATA: load = RAM, type = rw, define = yes;
19 BSS: load = RAM, type = bss, define = yes;
20 ZEROPAGE: load = ZP, type = zp;
21 EXTZP: load = ZP, type = zp, optional = yes;
22 APPZP: load = ZP, type = zp, optional = yes;
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__;