]> git.sur5r.net Git - cc65/blob - cfg/bbc.cfg
Cleaning telestrat.cfg (no need to have bashead segment). Some primitives added
[cc65] / 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     MAIN: file = %O,               start = $0E00, size = $7200 - __STACKSIZE__;
7 }
8 SEGMENTS {
9     ZEROPAGE: load = ZP,   type = zp;
10     STARTUP:  load = MAIN, type = ro,  define   = yes;
11     LOWCODE:  load = MAIN, type = ro,  optional = yes;
12     ONCE:     load = MAIN, type = ro,  optional = yes;
13     CODE:     load = MAIN, type = ro;
14     RODATA:   load = MAIN, type = ro;
15     DATA:     load = MAIN, type = rw;
16     BSS:      load = MAIN, type = bss, define   = yes;
17 }
18 FEATURES {
19     CONDES: type    = constructor,
20             label   = __CONSTRUCTOR_TABLE__,
21             count   = __CONSTRUCTOR_COUNT__,
22             segment = ONCE;
23     CONDES: type    = destructor,
24             label   = __DESTRUCTOR_TABLE__,
25             count   = __DESTRUCTOR_COUNT__,
26             segment = RODATA;
27     CONDES: type    = interruptor,
28             label   = __INTERRUPTOR_TABLE__,
29             count   = __INTERRUPTOR_COUNT__,
30             segment = RODATA,
31             import  = __CALLIRQ__;
32 }