1 # Default configuration (allowing for 3KB in LC)
4 STARTADDRESS: default = $0803;
7 __EXEHDR__: type = import;
8 __FILETYPE__: type = weak, value = $0006; # ProDOS file type
9 __STACKSIZE__: type = weak, value = $0800; # 2k stack
10 __HIMEM__: type = weak, value = $9600; # Presumed RAM end
11 __LCADDR__: type = weak, value = $D400; # Behind quit code
12 __LCSIZE__: type = weak, value = $0C00; # Rest of bank two
15 ZP: file = "", define = yes, start = $0080, size = $001A;
16 HEADER: file = %O, start = %S - $003A, size = $003A;
17 MAIN: file = %O, define = yes, start = %S, size = __HIMEM__ - %S;
18 BSS: file = "", start = __ONCE_RUN__, size = __HIMEM__ - __STACKSIZE__ - __ONCE_RUN__;
19 LC: file = "", define = yes, start = __LCADDR__, size = __LCSIZE__;
22 ZEROPAGE: load = ZP, type = zp;
23 EXEHDR: load = HEADER, type = ro, optional = yes;
24 STARTUP: load = MAIN, type = ro;
25 LOWCODE: load = MAIN, type = ro, optional = yes;
26 CODE: load = MAIN, type = ro;
27 RODATA: load = MAIN, type = ro;
28 DATA: load = MAIN, type = rw;
29 INIT: load = MAIN, type = rw;
30 ONCE: load = MAIN, type = ro, define = yes;
31 LC: load = MAIN, run = LC, type = ro, optional = yes;
32 BSS: load = BSS, type = bss, define = yes;
35 CONDES: type = constructor,
36 label = __CONSTRUCTOR_TABLE__,
37 count = __CONSTRUCTOR_COUNT__,
39 CONDES: type = destructor,
40 label = __DESTRUCTOR_TABLE__,
41 count = __DESTRUCTOR_COUNT__,
43 CONDES: type = interruptor,
44 label = __INTERRUPTOR_TABLE__,
45 count = __INTERRUPTOR_COUNT__,