]> git.sur5r.net Git - cc65/blob - cfg/supervision-64k.cfg
Fixed _textcolor definition.
[cc65] / cfg / supervision-64k.cfg
1 # supervision 64kbyte cartridge with bankswitching
2 # for assembler
3
4 # ld65 config file
5 # ld65 --config supervision-64k.cfg -o <prog>.bin <prog>.o
6
7 SYMBOLS {
8     __STACKSIZE__: type = weak, value = $0100; # 1 page stack
9 }
10 MEMORY {
11     RAM:      file = "", start = $0000, size = $2000 - __STACKSIZE__, define = yes;
12     VRAM:     file = "", start = $4000, size = $2000;
13     BANKROM1: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
14     BANKROM2: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
15     BANKROM3: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
16     ROM:      file = %O, start = $C000, size = $4000, fill = yes, fillval = $FF;
17 }
18 SEGMENTS {
19     LOWCODE:  load = ROM,      type = ro,  optional = yes;
20     ONCE:     load = ROM,      type = ro,  optional = yes;
21     CODE:     load = ROM,      type = ro;
22     RODATA:   load = ROM,      type = ro;
23     BANK1:    load = BANKROM1, type = ro;
24     BANK2:    load = BANKROM2, type = ro;
25     BANK3:    load = BANKROM3, type = ro;
26     ZEROPAGE: load = RAM,      type = bss, define   = yes;
27     DATA:     load = RAM,      type = bss, define   = yes, offset = $0200;
28     BSS:      load = RAM,      type = bss, define   = yes;
29     VECTOR:   load = ROM,      type = ro,                  offset = $3FFA;
30 }