diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg new file mode 100644 index 000000000..f6640f4c1 --- /dev/null +++ b/src/ld65/cfg/module.cfg @@ -0,0 +1,18 @@ +MEMORY { + COMBINED: start = $0000, size = $FFFF, file = %O; +} +SEGMENTS { + ZEROPAGE: load = COMBINED, type = zp; + CODE: load = COMBINED, type = wprot; + RODATA: load = COMBINED, type = wprot; + DATA: load = COMBINED, type = rw, define = yes; + BSS: load = COMBINED, type = bss, define = yes; +} +FILES { + %O: format = o65; +} +FORMATS { + o65: os = cc65, type = small; +} + +