]> git.sur5r.net Git - cc65/blob - cfg/atari-cassette.cfg
Fixed _textcolor definition.
[cc65] / cfg / atari-cassette.cfg
1 FEATURES {
2     STARTADDRESS: default = $0900;
3 }
4 SYMBOLS {
5     __STACKSIZE__:       type = weak,   value = $0800; # 2k stack
6     __RESERVED_MEMORY__: type = weak,   value = $0000;
7     __STARTADDRESS__:    type = export, value = %S;
8     _cas_hdr:            type = import;
9 }
10 MEMORY {
11     ZP:   file = "", define = yes, start = $0082, size = $007E;
12     MAIN: file = %O, define = yes, start = %S,    size = $BC20 - __STACKSIZE__ - __RESERVED_MEMORY__ - %S;
13 }
14 SEGMENTS {
15     ZEROPAGE: load = ZP,   type = zp,                optional = yes;
16     EXTZP:    load = ZP,   type = zp,                optional = yes;
17     CASHDR:   load = MAIN, type = ro;
18     STARTUP:  load = MAIN, type = ro,  define = yes, optional = yes;
19     LOWBSS:   load = MAIN, type = rw,                optional = yes;  # not zero initialized
20     LOWCODE:  load = MAIN, type = ro,  define = yes, optional = yes;
21     ONCE:     load = MAIN, type = ro,                optional = yes;
22     CODE:     load = MAIN, type = ro,  define = yes;
23     RODATA:   load = MAIN, type = ro,                optional = yes;
24     DATA:     load = MAIN, type = rw,                optional = yes;
25     BSS:      load = MAIN, type = bss, define = yes, optional = yes;
26     INIT:     load = MAIN, type = bss,               optional = yes;
27 }
28 FEATURES {
29     CONDES: type    = constructor,
30             label   = __CONSTRUCTOR_TABLE__,
31             count   = __CONSTRUCTOR_COUNT__,
32             segment = ONCE;
33     CONDES: type    = destructor,
34             label   = __DESTRUCTOR_TABLE__,
35             count   = __DESTRUCTOR_COUNT__,
36             segment = RODATA;
37     CONDES: type    = interruptor,
38             label   = __INTERRUPTOR_TABLE__,
39             count   = __INTERRUPTOR_COUNT__,
40             segment = RODATA,
41             import  = __CALLIRQ__;
42 }