]> git.sur5r.net Git - cc65/blob - cfg/creativision.cfg
Merge pull request #61 from greg-king5/make
[cc65] / cfg / creativision.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0180;
3 }
4 MEMORY {
5     ZP:  file = "", define = yes, start = $0020, size = $00E0;
6     RAM: file = "", define = yes, start = $01FA, size = $0206;
7     ROM: file = %O, define = yes, start = $B000, size = $1000;
8 }
9 SEGMENTS {
10     ZEROPAGE: load = ZP,             type = zp;
11     ZP:       load = ZP,             type = zp,                optional = yes;
12     VECTORS:  load = ROM, run = RAM, type = rw,  define = yes;
13     DATA:     load = ROM, run = RAM, type = rw,  define = yes,                 start = $0204;
14     BSS:      load = RAM,            type = bss, define = yes;
15     CODE:     load = ROM,            type = ro;
16     INIT:     load = ROM,            type = ro;
17     RODATA:   load = ROM,            type = ro;
18     AUDIO:    load = ROM,            type = ro,                optional = yes, start = $BF00;
19     SETUP:    load = ROM,            type = ro,                                start = $BFE8;
20 }
21 FEATURES {
22     CONDES: type    = constructor,
23             label   = __CONSTRUCTOR_TABLE__,
24             count   = __CONSTRUCTOR_COUNT__,
25             segment = INIT;
26     CONDES: type    = destructor,
27             label   = __DESTRUCTOR_TABLE__,
28             count   = __DESTRUCTOR_COUNT__,
29             segment = RODATA;
30     CONDES: type    = interruptor,
31             label   = __INTERRUPTOR_TABLE__,
32             count   = __INTERRUPTOR_COUNT__,
33             segment = RODATA,
34             import  = __CALLIRQ__;
35 }