]> git.sur5r.net Git - cc65/blob - cfg/none.cfg
Removed a "cc65_" prefix.
[cc65] / cfg / none.cfg
1 FEATURES {
2     STARTADDRESS: default = $1000;
3 }
4 SYMBOLS {
5     __STACKSIZE__:  type = weak, value = $0800; # 2k stack
6     __STACKSTART__: type = weak, value = $8000;
7     __ZPSTART__:    type = weak, value = $0080;
8 }
9 MEMORY {
10     ZP:   file = "", define = yes, start = __ZPSTART__, size = $001F;
11     MAIN: file = %O,               start = %S,          size = __STACKSTART__ - __STACKSIZE__ - %S;
12 }
13 SEGMENTS {
14     ZEROPAGE: load = ZP,   type = zp;
15     STARTUP:  load = MAIN, type = ro,  optional = yes;
16     LOWCODE:  load = MAIN, type = ro,  optional = yes;
17     ONCE:     load = MAIN, type = ro,  optional = yes;
18     CODE:     load = MAIN, type = rw;
19     RODATA:   load = MAIN, type = rw;
20     DATA:     load = MAIN, type = rw;
21     BSS:      load = MAIN, type = bss, define   = yes;
22 }
23 FEATURES {
24     CONDES: type    = constructor,
25             label   = __CONSTRUCTOR_TABLE__,
26             count   = __CONSTRUCTOR_COUNT__,
27             segment = ONCE;
28     CONDES: type    = destructor,
29             label   = __DESTRUCTOR_TABLE__,
30             count   = __DESTRUCTOR_COUNT__,
31             segment = RODATA;
32     CONDES: type    = interruptor,
33             label   = __INTERRUPTOR_TABLE__,
34             count   = __INTERRUPTOR_COUNT__,
35             segment = RODATA,
36             import  = __CALLIRQ__;
37 }