]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/atmos.cfg
Replace more linked lists by collections.
[cc65] / src / ld65 / cfg / atmos.cfg
1 SYMBOLS {
2     __STACKSIZE__: value = $0800, weak = yes; # 2k stack
3 }
4 MEMORY {
5     ZP:                 define = yes, start = $00E2, size = $001A;
6     TAPEHDR: file = %O, type   = ro,  start = $0000, size = $000E;
7     RAM:     file = %O, define = yes, start = $0500, size = $9300 - __STACKSIZE__;
8 }
9 SEGMENTS {
10     TAPEHDR:  load = TAPEHDR, type = ro;
11     STARTUP:  load = RAM,     type = ro;
12     LOWCODE:  load = RAM,     type = ro,                optional = yes;
13     INIT:     load = RAM,     type = ro,  define = yes, optional = yes;
14     CODE:     load = RAM,     type = ro;
15     RODATA:   load = RAM,     type = ro;
16     DATA:     load = RAM,     type = rw;
17     ZPSAVE:   load = RAM,     type = bss;
18     BSS:      load = RAM,     type = bss, define = yes;
19     ZEROPAGE: load = ZP,      type = zp;
20 }
21 FEATURES {
22     CONDES: segment = INIT,
23             type    = constructor,
24             label   = __CONSTRUCTOR_TABLE__,
25             count   = __CONSTRUCTOR_COUNT__;
26     CONDES: segment = RODATA,
27             type    = destructor,
28             label   = __DESTRUCTOR_TABLE__,
29             count   = __DESTRUCTOR_COUNT__;
30     CONDES: segment = RODATA,
31             type    = interruptor,
32             label   = __INTERRUPTOR_TABLE__,
33             count   = __INTERRUPTOR_COUNT__;
34 }