]> git.sur5r.net Git - cc65/blob - cfg/supervision-128k.cfg
Fixed _textcolor definition.
[cc65] / cfg / supervision-128k.cfg
1 # supervision 1284kbyte cartridge with bankswitching
2 # for assembler
3
4 # ld65 config file
5 # ld65 --config supervision-128k.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     BANKROM4: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
17     BANKROM5: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
18     BANKROM6: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
19     BANKROM7: file = %O, start = $8000, size = $4000, fill = yes, fillval = $FF;
20     ROM:      file = %O, start = $c000, size = $4000, fill = yes, fillval = $FF;
21 }
22 SEGMENTS {
23     LOWCODE:  load = ROM,      type = ro,  optional = yes;
24     ONCE:     load = ROM,      type = ro,  optional = yes;
25     CODE:     load = ROM,      type = ro;
26     BANK1:    load = BANKROM1, type = ro;
27     BANK2:    load = BANKROM2, type = ro;
28     BANK3:    load = BANKROM3, type = ro;
29     BANK4:    load = BANKROM4, type = ro;
30     BANK5:    load = BANKROM5, type = ro;
31     BANK6:    load = BANKROM6, type = ro;
32     BANK7:    load = BANKROM7, type = ro;
33     ZEROPAGE: load = RAM,      type = bss, define   = yes;
34     DATA:     load = RAM,      type = bss, define   = yes, offset = $0200;
35     BSS:      load = RAM,      type = bss, define   = yes;
36     VECTOR:   load = ROM,      type = ro,                  offset = $3FFA;
37 }