]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/cbm610.cfg
Better handling of imports in the ExprNode structure.
[cc65] / src / ld65 / cfg / cbm610.cfg
1 SYMBOLS {
2     __STACKSIZE__: value = $0800, weak = yes; # 2k stack
3 }
4 MEMORY {
5     HEADER:   file = %O,               start = $0001, size = $0050, fill = yes;
6     ZP:       file = %O, define = yes, start = $0051, size = $00AD, fill = yes;
7     STARTUP:  file = %O,               start = $00FE, size = $0102, fill = yes;
8     PAGE2:    file = %O,               start = $0200, size = $0100, fill = yes;
9     PAGE3:    file = %O,               start = $0300, size = $0100, fill = yes;
10     RAM:      file = %O,               start = $0400, size = $FECB - __STACKSIZE__;
11 }
12 SEGMENTS {
13     EXEHDR:   load = HEADER,  type = rw;
14     STARTUP:  load = STARTUP, type = rw;
15     PAGE2:    load = PAGE2,   type = rw;
16     PAGE3:    load = PAGE3,   type = rw;
17     LOWCODE:  load = RAM,     type = ro,                optional = yes;
18     INIT:     load = RAM,     type = ro,  define = yes, optional = yes;
19     CODE:     load = RAM,     type = ro;
20     RODATA:   load = RAM,     type = ro;
21     DATA:     load = RAM,     type = rw;
22     BSS:      load = RAM,     type = bss, define = yes;
23     ZEROPAGE: load = ZP,      type = zp;
24     EXTZP:    load = ZP,      type = rw,  define = yes;
25 }
26 FEATURES {
27     CONDES: segment = INIT,
28             type    = constructor,
29             label   = __CONSTRUCTOR_TABLE__,
30             count   = __CONSTRUCTOR_COUNT__;
31     CONDES: segment = RODATA,
32             type    = destructor,
33             label   = __DESTRUCTOR_TABLE__,
34             count   = __DESTRUCTOR_COUNT__;
35     CONDES: segment = RODATA,
36             type    = interruptor,
37             label   = __INTERRUPTOR_TABLE__,
38             count   = __INTERRUPTOR_COUNT__;
39 }