]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/supervision16.cfg
New module strstack
[cc65] / src / ld65 / cfg / supervision16.cfg
1 # supervision 16kbyte cartridge
2
3 # ld65 config file
4 # ld65 --config supervision16.cfg -o <prog>.bin <prog>.o
5 MEMORY {
6     ZP: start = $0000, size = $100;
7     CPUSTACK: start = $0100, size =$100;
8     RAM: start = $0200, size = $1e00;
9     VRAM: start = $4000, size = $2000;
10     ROM: start = $c000, size = $4000, fill = yes, fillval = $ff, file=%O, define=yes;
11 }
12
13 SEGMENTS {
14     CODE: load = ROM, type = ro, define=yes;
15     RODATA: load = ROM, type = ro, define=yes;
16     DATA: load = ROM, run=RAM, type = rw, define = yes;
17     FFF0: load = ROM, type =ro, offset = $3ff0;
18     VECTOR: load = ROM, type = ro, offset = $3FFA;
19     ZEROPAGE: load = ZP, type = zp, define = yes;
20     BSS: load = RAM, type = bss, define = yes;
21 }
22 FEATURES {
23     CONDES: segment = RODATA,
24             type = constructor,
25             label = __CONSTRUCTOR_TABLE__,
26             count = __CONSTRUCTOR_COUNT__;
27     CONDES: segment = RODATA,
28             type = destructor,
29             label = __DESTRUCTOR_TABLE__,
30             count = __DESTRUCTOR_COUNT__;
31 }
32