]> git.sur5r.net Git - cc65/blob - cfg/cbm610.cfg
Removed a "cc65_" prefix.
[cc65] / cfg / cbm610.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0800; # 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     MAIN:    file = %O,               start = $0400, size = $FECB - __STACKSIZE__;
11 }
12 SEGMENTS {
13     ZEROPAGE: load = ZP,      type = zp;
14     EXTZP:    load = ZP,      type = rw,  define   = yes;
15     EXEHDR:   load = HEADER,  type = rw;
16     STARTUP:  load = STARTUP, type = rw;
17     PAGE2:    load = PAGE2,   type = rw;
18     PAGE3:    load = PAGE3,   type = rw;
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, optional = yes;
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 }