]> git.sur5r.net Git - cc65/blob - cfg/supervision.cfg
Added MS VS 2010 solution with projects for the major binaries.
[cc65] / cfg / supervision.cfg
1 # if you want to combine the 2 16 kbyte roms
2 # make sure the halves are mirrored in the 64kbyte cartridge image
3 # or reset from code >0xc000 and switch bank to the 3rd bank
4
5 MEMORY {
6     ZP:       file = "", start = $0000, size = $0100;
7     CPUSTACK: file = "", start = $0100, size = $0100;
8     RAM:      file = "", start = $0200, size = $1E00, define = yes;
9     VRAM:     file = "", start = $4000, size = $2000;
10     ROM:      file = %O, start = $8000, size = $8000, fill = yes, fillval = $FF, define = yes;
11 }
12 SEGMENTS {
13     LOWCODE:  load = ROM,            type = ro,                optional = yes;
14     INIT:     load = ROM,            type = ro,  define = yes, optional = yes;
15     CODE:     load = ROM,            type = ro,  define = yes;
16     RODATA:   load = ROM,            type = ro,  define = yes;
17     DATA:     load = ROM, run = RAM, type = rw,  define = yes;
18     FFF0:     load = ROM,            type = ro,  offset = $7FF0;
19     VECTOR:   load = ROM,            type = ro,  offset = $7FFA;
20     BSS:      load = RAM,            type = bss, define = yes;
21     ZEROPAGE: load = ZP,             type = zp,  define = yes;
22 }
23 FEATURES {
24     CONDES: type    = constructor,
25             label   = __CONSTRUCTOR_TABLE__,
26             count   = __CONSTRUCTOR_COUNT__,
27             segment = INIT;
28     CONDES: type    = destructor,
29             label   = __DESTRUCTOR_TABLE__,
30             count   = __DESTRUCTOR_COUNT__,
31             segment = RODATA;
32     CONDES: type    = interruptor,
33             label   = __INTERRUPTOR_TABLE__,
34             count   = __INTERRUPTOR_COUNT__,
35             segment = RODATA,
36             import  = __CALLIRQ__;
37 }