diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg index a4d62db0b..e36bc5f96 100644 --- a/src/ld65/cfg/module.cfg +++ b/src/ld65/cfg/module.cfg @@ -1,15 +1,16 @@ MEMORY { - ZP: start = $0000, size = $0100, type = rw, define = yes; + ZP: start = $0000, size = $0100, type = rw, define = yes; COMBINED: start = $0000, size = $FFFF, file = %O; } SEGMENTS { JUMPTABLE: load = COMBINED, type = ro; - 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; + 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; } FILES { %O: format = o65;