1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00
cc65/cfg/module.cfg
Oliver Schmidt 5edcd639e0 Made EXTZP segment option for modules.
This allows to remove the "add empty EXTZP segement to avoid warnings"
approach.
2013-06-28 00:30:24 +02:00

22 lines
654 B
INI

MEMORY {
ZP: file = %O, start = $0000, size = $0100, type = rw, define = yes;
COMBINED: file = %O, start = $0000, size = $FFFF;
}
SEGMENTS {
JUMPTABLE: load = COMBINED, type = ro;
INIT: load = COMBINED, type = ro, optional = yes;
CODE: load = COMBINED, type = ro;
RODATA: load = COMBINED, type = ro;
DATA: load = COMBINED, type = rw, define = yes;
BSS: load = COMBINED, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp, optional = yes;
}
FILES {
%O: format = o65;
}
FORMATS {
o65: os = cc65,
type = small;
}