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