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 = ""; PRG0: start = $808000, size = $08000, type = ro, file = %O, fill = yes, fillval = $00; PRG1: start = $818000, size = $08000, type = ro, file = %O, fill = yes, fillval = $00; } SEGMENTS { ZEROPAGE: load = ZP, type = zp; LORAM: load = LORAM, type = bss; HIRAM: load = HIRAM, type = bss, align = 256; PRG0: load = PRG0, type = ro; START: load = PRG0, type = ro, start = $80FFA0; HEADER: load = PRG0, type = ro, start = $80FFC0; PRG1: load = PRG1, type = ro; }