]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/bbc.cfg
Have the callirq module export __CALLIRQ__ and changed all config files so
[cc65] / src / ld65 / cfg / bbc.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0800; # 2k stack
3 }
4 MEMORY {
5     ZP:  file = "", define = yes, start = $0070, size = $0020;
6     RAM: file = %O,               start = $0E00, size = $7200 - __STACKSIZE__;
7 }
8 SEGMENTS {
9     STARTUP:  load = RAM, type = ro,  define = yes;
10     LOWCODE:  load = RAM, type = ro,                optional = yes;
11     INIT:     load = RAM, type = ro,  define = yes, optional = yes;
12     CODE:     load = RAM, type = ro;
13     RODATA:   load = RAM, type = ro;
14     DATA:     load = RAM, type = rw;
15     BSS:      load = RAM, type = bss, define = yes;
16     ZEROPAGE: load = ZP,  type = zp;
17 }
18 FEATURES {
19     CONDES: segment = INIT,
20             type    = constructor,
21             label   = __CONSTRUCTOR_TABLE__,
22             count   = __CONSTRUCTOR_COUNT__;
23     CONDES: segment = RODATA,
24             type    = destructor,
25             label   = __DESTRUCTOR_TABLE__,
26             count   = __DESTRUCTOR_COUNT__;
27     CONDES: segment = RODATA,
28             type    = interruptor,
29             label   = __INTERRUPTOR_TABLE__,
30             count   = __INTERRUPTOR_COUNT__,
31             import  = __CALLIRQ__;
32 }