2 __STACKSIZE__: type = weak, value = $0800; # 2k stack
3 __STARTOFDIRECTORY__: type = weak, value = $00CB; # start just after loader
4 __BLOCKSIZE__: type = weak, value = $0400; # cart block size
5 __EXEHDR__: type = import;
6 __BOOTLDR__: type = import;
7 __DEFDIR__: type = import;
10 ZP: file = "", define = yes, start = $0000, size = $0100;
11 HEADER: file = %O, start = $0000, size = $0040;
12 BOOT: file = %O, start = $0200, size = __STARTOFDIRECTORY__;
13 DIR: file = %O, start = $0000, size = 8;
14 RAM: file = %O, define = yes, start = $0200, size = $9E58 - __STACKSIZE__;
17 EXEHDR: load = HEADER, type = ro;
18 BOOTLDR: load = BOOT, type = ro;
19 DIRECTORY: load = DIR, type = ro;
20 STARTUP: load = RAM, type = ro, define = yes;
21 LOWCODE: load = RAM, type = ro, define = yes, optional = yes;
22 INIT: load = RAM, type = ro, define = yes, optional = yes;
23 CODE: load = RAM, type = ro, define = yes;
24 RODATA: load = RAM, type = ro, define = yes;
25 DATA: load = RAM, type = rw, define = yes;
26 BSS: load = RAM, type = bss, define = yes;
27 ZEROPAGE: load = ZP, type = zp;
28 EXTZP: load = ZP, type = zp, optional = yes;
29 APPZP: load = ZP, type = zp, optional = yes;
32 CONDES: type = constructor,
33 label = __CONSTRUCTOR_TABLE__,
34 count = __CONSTRUCTOR_COUNT__,
36 CONDES: type = destructor,
37 label = __DESTRUCTOR_TABLE__,
38 count = __DESTRUCTOR_COUNT__,
40 CONDES: type = interruptor,
41 label = __INTERRUPTOR_TABLE__,
42 count = __INTERRUPTOR_COUNT__,