MEMORY { | |
ZP: file = "", start = $0000, size = $0100; | |
CPUSTACK: file = "", start = $0100, size = $0100; | |
RAM: file = "", start = $0200, size = $CE00; | |
ROM: file = %O, start = $F000, size = $1000, fill = yes, fillval = $FF; | |
} | |
SEGMENTS { | |
ZEROPAGE: load = ZP, type = zp; | |
STARTUP: load = ROM, type = ro; | |
CODE: load = ROM, type = ro; | |
RODATA: load = ROM, type = ro; | |
DATA: load = ROM, type = rw, run = RAM; | |
VECTORS: load = ROM, type = ro, start = $FFFA; | |
} |