MEMORY { ZP: start = $00, size = $100, type = rw, file = ""; STACK: start = $100, size = $100, type = rw, file = ""; LORAM: start = $200, size = $1E00, type = rw, file = ""; HIRAM: start = $7E2000, size = $6000, type = rw, file = ""; PRG: start = $C00000, size = $40000, type = ro, file = %O, fill = yes, fillval = $00; } SEGMENTS { ZEROPAGE: load = ZP, type = zp; LORAM: load = LORAM, type = bss; HIRAM: load = HIRAM, type = bss; LOPRG: load = PRG, type = ro; RODATA: load = PRG, type = ro, define = yes; START: load = PRG, type = ro, start = $C0FFB0; HEADER: load = PRG, type = ro, start = $C0FFC0; MAIN: load = PRG, type = ro, start = $C20000; }