X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fld65%2Fcfg%2Fmodule.cfg;h=edc87fb175d2cd2f928eb9c0e59f0628e15e43a5;hb=7aefd9b4e7b67908b7b3c38b6003c7f1a8d3ee2d;hp=bd907d3d2fdd29b3e9b5d78273ea78ea116d2489;hpb=93813611e5a0e69d76dded4b10bcf6e68d58cc9f;p=cc65 diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg index bd907d3d2..edc87fb17 100644 --- a/src/ld65/cfg/module.cfg +++ b/src/ld65/cfg/module.cfg @@ -1,19 +1,21 @@ MEMORY { - COMBINED: start = $0000, size = $FFFF, file = %O; + ZP: file = %O, start = $0000, size = $0100, type = rw, define = yes; + COMBINED: file = %O, start = $0000, size = $FFFF; } SEGMENTS { - ZEROPAGE: load = COMBINED, type = zp; - JUMPTABLE: load = COMBINED, type = wprot; - CODE: load = COMBINED, type = wprot; - RODATA: load = COMBINED, type = wprot; - DATA: load = COMBINED, type = rw, define = yes; - BSS: load = COMBINED, type = bss, define = yes; + 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; } FILES { %O: format = o65; } FORMATS { - o65: os = cc65, type = small; + o65: os = cc65, + type = small; } - -