1 # Configuration for ProDOS 8 system programs (without the header)
4 __STACKSIZE__: type = weak, value = $0800; # 2k stack
5 __LCADDR__: type = weak, value = $D400; # Behind quit code
6 __LCSIZE__: type = weak, value = $0C00; # Rest of bank two
9 ZP: file = "", define = yes, start = $0080, size = $001A;
10 MAIN: file = %O, start = $2000, size = $BF00 - $2000;
11 BSS: file = "", start = __ONCE_RUN__, size = $BF00 - __STACKSIZE__ - __ONCE_RUN__;
12 LC: file = "", define = yes, start = __LCADDR__, size = __LCSIZE__;
15 ZEROPAGE: load = ZP, type = zp;
16 STARTUP: load = MAIN, type = ro;
17 LOWCODE: load = MAIN, type = ro, optional = yes;
18 CODE: load = MAIN, type = ro;
19 RODATA: load = MAIN, type = ro;
20 DATA: load = MAIN, type = rw;
21 INIT: load = MAIN, type = rw;
22 ONCE: load = MAIN, type = ro, define = yes;
23 LC: load = MAIN, run = LC, type = ro, optional = yes;
24 BSS: load = BSS, type = bss, define = yes;
27 CONDES: type = constructor,
28 label = __CONSTRUCTOR_TABLE__,
29 count = __CONSTRUCTOR_COUNT__,
31 CONDES: type = destructor,
32 label = __DESTRUCTOR_TABLE__,
33 count = __DESTRUCTOR_COUNT__,
35 CONDES: type = interruptor,
36 label = __INTERRUPTOR_TABLE__,
37 count = __INTERRUPTOR_COUNT__,