]> git.sur5r.net Git - cc65/blob - cfg/c16-32k.cfg
Fixed _textcolor definition.
[cc65] / cfg / c16-32k.cfg
1 SYMBOLS {
2     __LOADADDR__:  type = import;
3     __EXEHDR__:    type = import;
4     __STACKSIZE__: type = weak, value = $0800; # 2k stack
5 }
6 MEMORY {
7     ZP:       file = "", define = yes, start = $0002, size = $001A;
8     LOADADDR: file = %O,               start = $0FFF, size = $0002;
9     HEADER:   file = %O,               start = $1001, size = $000C;
10     MAIN:     file = %O,               start = $100D, size = $6FF3 - __STACKSIZE__;
11 }
12 SEGMENTS {
13     ZEROPAGE: load = ZP,       type = zp;
14     LOADADDR: load = LOADADDR, type = ro;
15     EXEHDR:   load = HEADER,   type = ro;
16     STARTUP:  load = MAIN,     type = ro;
17     LOWCODE:  load = MAIN,     type = ro,  optional = yes;
18     ONCE:     load = MAIN,     type = ro,  optional = yes;
19     CODE:     load = MAIN,     type = ro;
20     RODATA:   load = MAIN,     type = ro;
21     DATA:     load = MAIN,     type = rw;
22     INIT:     load = MAIN,     type = bss;
23     BSS:      load = MAIN,     type = bss, define   = yes;
24 }
25 FEATURES {
26     CONDES: type    = constructor,
27             label   = __CONSTRUCTOR_TABLE__,
28             count   = __CONSTRUCTOR_COUNT__,
29             segment = ONCE;
30     CONDES: type    = destructor,
31             label   = __DESTRUCTOR_TABLE__,
32             count   = __DESTRUCTOR_COUNT__,
33             segment = RODATA;
34     CONDES: type    = interruptor,
35             label   = __INTERRUPTOR_TABLE__,
36             count   = __INTERRUPTOR_COUNT__,
37             segment = RODATA,
38             import  = __CALLIRQ__;
39 }