]> git.sur5r.net Git - cc65/blob - cfg/atmos.cfg
Fixed _textcolor definition.
[cc65] / cfg / atmos.cfg
1 SYMBOLS {
2     __TAPEHDR__:   type = import;
3     __BASHDR__:    type = import;
4     __PROGFLAG__:  type = weak, value = $00; # $00=BASIC, $80=machine code
5     __AUTORUN__:   type = weak, value = $00; # $00=only load, $C7=run
6     __STACKSIZE__: type = weak, value = $0800; # 2K stack
7     __GRAB__:      type = weak, value = 0; # 0=don't grab graphics RAM, 1=grab graphics RAM
8     __RAMEND__:    type = weak, value = $9800 + $1C00 * __GRAB__;
9 }
10 MEMORY {
11     ZP:      file = "", define = yes, start = $00E2,            size = $001A;
12     TAPEHDR: file = %O, type   = ro,  start = $0000,            size = $001F;
13     BASHEAD: file = %O, define = yes, start = $0501,            size = $000D;
14     MAIN:    file = %O, define = yes, start = __BASHEAD_LAST__, size = __RAMEND__ - __MAIN_START__;
15     BSS:     file = "",               start = __ONCE_RUN__,     size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__;
16 }
17 SEGMENTS {
18     ZEROPAGE: load = ZP,      type = zp;
19     TAPEHDR:  load = TAPEHDR, type = ro;
20     BASHDR:   load = BASHEAD, type = ro,  optional = yes;
21     STARTUP:  load = MAIN,    type = ro;
22     LOWCODE:  load = MAIN,    type = ro,  optional = yes;
23     CODE:     load = MAIN,    type = ro;
24     RODATA:   load = MAIN,    type = ro;
25     DATA:     load = MAIN,    type = rw;
26     INIT:     load = MAIN,    type = rw;
27     ONCE:     load = MAIN,    type = ro,  define   = yes;
28     BASTAIL:  load = MAIN,    type = ro,  optional = yes;
29     BSS:      load = BSS,     type = bss, define   = yes;
30 }
31 FEATURES {
32     CONDES: type    = constructor,
33             label   = __CONSTRUCTOR_TABLE__,
34             count   = __CONSTRUCTOR_COUNT__,
35             segment = ONCE;
36     CONDES: type    = destructor,
37             label   = __DESTRUCTOR_TABLE__,
38             count   = __DESTRUCTOR_COUNT__,
39             segment = RODATA;
40     CONDES: type    = interruptor,
41             label   = __INTERRUPTOR_TABLE__,
42             count   = __INTERRUPTOR_COUNT__,
43             segment = RODATA,
44             import  = __CALLIRQ__;
45 }