]> git.sur5r.net Git - cc65/blob - cfg/none.cfg
Merge pull request #348 from SvOlli/release
[cc65] / cfg / none.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0800; # 2k stack
3 }
4 MEMORY {
5     ZP:   file = "", define = yes, start = $0000, size = $0001F;
6     MAIN: file = %O,               start = %S,    size = $10000 - __STACKSIZE__;
7 }
8 SEGMENTS {
9     ZEROPAGE: load = ZP,   type = zp;
10     LOWCODE:  load = MAIN, type = ro,  optional = yes;
11     ONCE:     load = MAIN, type = ro,  optional = yes;
12     CODE:     load = MAIN, type = rw;
13     RODATA:   load = MAIN, type = rw;
14     DATA:     load = MAIN, type = rw;
15     BSS:      load = MAIN, type = bss, define   = yes;
16 }
17 FEATURES {
18     CONDES: type    = constructor,
19             label   = __CONSTRUCTOR_TABLE__,
20             count   = __CONSTRUCTOR_COUNT__,
21             segment = ONCE;
22     CONDES: type    = destructor,
23             label   = __DESTRUCTOR_TABLE__,
24             count   = __DESTRUCTOR_COUNT__,
25             segment = RODATA;
26     CONDES: type    = interruptor,
27             label   = __INTERRUPTOR_TABLE__,
28             count   = __INTERRUPTOR_COUNT__,
29             segment = RODATA,
30             import  = __CALLIRQ__;
31 }