]> git.sur5r.net Git - cc65/blob - cfg/creativision.cfg
Fixed gcc compiler warning (#867)
[cc65] / cfg / creativision.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0040;
3 }
4 MEMORY {
5     ZP:  file = "", define = yes, start = $0020, size = $00E0;
6     RAM: file = "", define = yes, start = $01FA, size = $0206 - __STACKSIZE__;
7     ROM: file = %O, define = yes, start = $B000, size = $1000, fill = yes, fillval = $FF;
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     ONCE:     load = ROM,            type = ro,                optional = yes;
16     CODE:     load = ROM,            type = ro;
17     INIT:     load = ROM,            type = ro;
18     RODATA:   load = ROM,            type = ro;
19     AUDIO:    load = ROM,            type = ro,                optional = yes, start = $BF00;
20     SETUP:    load = ROM,            type = ro,                                start = $BFE8;
21 }
22 FEATURES {
23     CONDES: type    = constructor,
24             label   = __CONSTRUCTOR_TABLE__,
25             count   = __CONSTRUCTOR_COUNT__,
26             segment = INIT;
27     CONDES: type    = destructor,
28             label   = __DESTRUCTOR_TABLE__,
29             count   = __DESTRUCTOR_COUNT__,
30             segment = RODATA;
31     CONDES: type    = interruptor,
32             label   = __INTERRUPTOR_TABLE__,
33             count   = __INTERRUPTOR_COUNT__,
34             segment = RODATA,
35             import  = __CALLIRQ__;
36 }