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