]> git.sur5r.net Git - cc65/blob - cfg/module.cfg
Made EXTZP segment option for modules.
[cc65] / cfg / module.cfg
1 MEMORY {
2     ZP:       file = %O, start = $0000, size = $0100, type = rw, define = yes;
3     COMBINED: file = %O, start = $0000, size = $FFFF;
4 }
5 SEGMENTS {
6     JUMPTABLE: load = COMBINED, type = ro;
7     INIT:      load = COMBINED, type = ro,  optional = yes;
8     CODE:      load = COMBINED, type = ro;
9     RODATA:    load = COMBINED, type = ro;
10     DATA:      load = COMBINED, type = rw,  define = yes;
11     BSS:       load = COMBINED, type = bss, define = yes;
12     ZEROPAGE:  load = ZP,       type = zp;
13     EXTZP:     load = ZP,       type = zp,  optional = yes;
14 }
15 FILES {
16     %O: format = o65;
17 }
18 FORMATS {
19     o65: os   = cc65,
20          type = small;
21 }