diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg index bd907d3d2..7783f995a 100644 --- a/src/ld65/cfg/module.cfg +++ b/src/ld65/cfg/module.cfg @@ -1,13 +1,14 @@ MEMORY { + ZP: start = $0000, size = $0100, type = rw, define = yes; COMBINED: start = $0000, size = $FFFF, file = %O; } 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; + ZEROPAGE: load = ZP, type = zp; } FILES { %O: format = o65;