2 __STACKSIZE__: type = weak, value = $0800; # 2k stack
3 __STARTOFDIRECTORY__: type = weak, value = $00CB; # start just after loader
4 __BLOCKSIZE__: type = weak, value = 1024; # 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 MAIN: file = %O, define = yes, start = $0200, size = $BE38 - __STACKSIZE__;
17 ZEROPAGE: load = ZP, type = zp;
18 EXTZP: load = ZP, type = zp, optional = yes;
19 APPZP: load = ZP, type = zp, optional = yes;
20 EXEHDR: load = HEADER, type = ro;
21 BOOTLDR: load = BOOT, type = ro;
22 DIRECTORY: load = DIR, type = ro;
23 STARTUP: load = MAIN, type = ro, define = yes;
24 LOWCODE: load = MAIN, type = ro, define = yes, optional = yes;
25 ONCE: load = MAIN, type = ro, define = yes, optional = yes;
26 CODE: load = MAIN, type = ro, define = yes;
27 RODATA: load = MAIN, type = ro, define = yes;
28 DATA: load = MAIN, type = rw, define = yes;
29 BSS: load = MAIN, type = bss, define = 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__,