]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/lunix.cfg
Changed cfg to account for the NMI handler in connection with the C128 banking.
[cc65] / src / ld65 / cfg / lunix.cfg
1 MEMORY {
2     COMBINED: start = $0000, size = $FFFF, file = %O;
3     ZEROPAGE: start = $0000, size = $0100, file = %O;
4 }
5 SEGMENTS {
6     CODE: load = COMBINED, type = wprot;
7     RODATA: load = COMBINED, type = wprot;
8     DATA: load = COMBINED, type = rw, define = yes;
9     BSS: load = COMBINED, type = bss, define = yes;
10     ZEROPAGE: load = ZEROPAGE, type = zp;
11 }
12 FEATURES {
13     CONDES: segment = RODATA,
14             type = constructor,
15             label = __CONSTRUCTOR_TABLE__,
16             count = __CONSTRUCTOR_COUNT__;
17     CONDES: segment = RODATA,
18             type = destructor,
19             label = __DESTRUCTOR_TABLE__,
20             count = __DESTRUCTOR_COUNT__;
21 }
22 FILES {
23     %O: format = o65;
24 }
25 FORMATS {
26     o65: os = lunix, type = small, extsym = "LUNIXKERNAL", extsym = "LIB6502";
27 }
28 SYMBOLS {
29     __STACKSIZE__ = $800;       # 2K stack
30 }