1 # supervision 1284kbyte cartridge with bankswitching
5 # ld65 --config supervision.cfg -o <prog>.bin <prog>.o
8 RAM: start = $0000, size = $2000;
9 VRAM: start = $4000, size = $2000;
10 BANKROM1: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
11 BANKROM2: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
12 BANKROM3: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
13 BANKROM4: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
14 BANKROM5: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
15 BANKROM6: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
16 BANKROM7: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
17 ROM: start = $c000, size = $4000, fill = yes, fillval = $FF, file = %O;
21 LOWCODE: load = ROM, type = ro, optional = yes;
22 INIT: load = ROM, type = ro, define = yes, optional = yes;
23 CODE: load = ROM, type = ro;
24 BANK1: load = BANKROM1, type = ro;
25 BANK2: load = BANKROM2, type = ro;
26 BANK3: load = BANKROM3, type = ro;
27 BANK4: load = BANKROM4, type = ro;
28 BANK5: load = BANKROM5, type = ro;
29 BANK6: load = BANKROM6, type = ro;
30 BANK7: load = BANKROM7, type = ro;
31 ZEROPAGE: load = RAM, type = bss, define = yes;
32 DATA: load = RAM, type = bss, offset = $0200, define = yes;
33 BSS: load = RAM, type = bss, define = yes;
34 HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
35 VECTOR: load = ROM, type = ro, offset = $3FFA;