]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/lynx.cfg
Replace obsolete "wprot" segment type by "ro".
[cc65] / src / ld65 / cfg / lynx.cfg
1 MEMORY {
2     ZP: start = $00, size = $100, type = rw, define = yes;
3     HEADER: start = $0000, size = $A, file = %O;
4     RAM: start = $0400, size = $BA3F, define = yes, file = %O;
5 }
6 SEGMENTS {
7     EXEHDR: load = HEADER, type = ro;
8     STARTUP: load = RAM, type = ro;
9     LOWCODE: load = RAM, type = ro, optional = yes;
10     CODE: load = RAM, type = ro;
11     RODATA: load = RAM, type = ro;
12     DATA: load = RAM, type = rw;
13     BSS: load = RAM, type = bss, define = yes;
14     ZEROPAGE: load = ZP, type = zp;
15     EXTZP: load = ZP, type = zp, optional = yes;
16     APPZP: load = ZP, type = zp, optional = yes;
17 }
18 FEATURES {
19     CONDES: segment = RODATA,
20             type = constructor,
21             label = __CONSTRUCTOR_TABLE__,
22             count = __CONSTRUCTOR_COUNT__;
23     CONDES: segment = RODATA,
24             type = destructor,
25             label = __DESTRUCTOR_TABLE__,
26             count = __DESTRUCTOR_COUNT__;
27     CONDES: segment = RODATA,
28             type = interruptor,
29             label = __INTERRUPTOR_TABLE__,
30             count = __INTERRUPTOR_COUNT__;
31 }
32 SYMBOLS {
33     __STACKSIZE__ = $800;       # 2K stack
34 }