1 # supervision 16kbyte cartridge
4 # ld65 --config supervision16.cfg -o <prog>.bin <prog>.o
7 __STACKSIZE__: type = weak, value = $0100; # 1 page stack
10 ZP: file = "", start = $0000, size = $0100;
11 CPUSTACK: file = "", start = $0100, size = $0100;
12 RAM: file = "", start = $0200, size = $1E00 - __STACKSIZE__;
13 VRAM: file = "", start = $4000, size = $2000;
14 ROM: file = %O, start = $C000, size = $4000, fill = yes, fillval = $ff, define=yes;
17 LOWCODE: load = ROM, type = ro, optional = yes;
18 INIT: load = ROM, type = ro, define = yes, optional = yes;
19 CODE: load = ROM, type = ro, define = yes;
20 RODATA: load = ROM, type = ro, define = yes;
21 DATA: load = ROM, run = RAM, type = rw, define = yes;
22 FFF0: load = ROM, type = ro, offset = $3FF0;
23 VECTOR: load = ROM, type = ro, offset = $3FFA;
24 BSS: load = RAM, type = bss, define = yes;
25 ZEROPAGE: load = ZP, type = zp, define = yes;
28 CONDES: type = constructor,
29 label = __CONSTRUCTOR_TABLE__,
30 count = __CONSTRUCTOR_COUNT__,
32 CONDES: type = destructor,
33 label = __DESTRUCTOR_TABLE__,
34 count = __DESTRUCTOR_COUNT__,
36 CONDES: type = interruptor,
37 label = __INTERRUPTOR_TABLE__,
38 count = __INTERRUPTOR_COUNT__,