1 # Configuration for ProDOS 8 system programs (without the header)
4 __LCADDR__: type = weak, value = $D400; # Behind quit code
5 __LCSIZE__: type = weak, value = $0C00; # Rest of bank two
6 __STACKSIZE__: type = weak, value = $0800; # 2k stack
7 __LOADADDR__: type = weak, value = __STARTUP_RUN__;
8 __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __STARTUP_RUN__ +
9 __MOVE_LAST__ - __MOVE_START__;
12 ZP: define = yes, start = $0080, size = $001A;
13 RAM: file = %O, start = $2000, size = $9F00 - __STACKSIZE__;
14 MOVE: file = %O, define = yes, start = $0000, size = $FFFF;
15 LC: define = yes, start = __LCADDR__, size = __LCSIZE__;
18 ZEROPAGE: load = ZP, type = zp;
19 STARTUP: load = RAM, type = ro, define = yes;
20 LOWCODE: load = RAM, type = ro;
21 CODE: load = RAM, type = ro;
22 RODATA: load = RAM, type = ro;
23 DATA: load = RAM, type = rw;
24 ZPSAVE: load = RAM, type = bss, define = yes;
25 BSS: load = RAM, type = bss, define = yes;
26 INIT: load = MOVE, run = RAM, type = ro, define = yes;
27 LC: load = MOVE, run = LC, type = ro, optional = yes;
30 CONDES: type = constructor,
31 label = __CONSTRUCTOR_TABLE__,
32 count = __CONSTRUCTOR_COUNT__,
34 CONDES: type = destructor,
35 label = __DESTRUCTOR_TABLE__,
36 count = __DESTRUCTOR_COUNT__,
38 CONDES: type = interruptor,
39 label = __INTERRUPTOR_TABLE__,
40 count = __INTERRUPTOR_COUNT__,