]> git.sur5r.net Git - cc65/blob - cfg/none.cfg
Added crt0 to none.lib
[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     STARTUP:  load = MAIN, type = ro,  optional = yes;
11     LOWCODE:  load = MAIN, type = ro,  optional = yes;
12     ONCE:     load = MAIN, type = ro,  optional = yes;
13     CODE:     load = MAIN, type = rw;
14     RODATA:   load = MAIN, type = rw;
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 }