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