1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-25 02:33:26 +00:00
mre-mos6502/examples/asm/linker.cfg
2023-06-29 11:24:09 +02:00

11 lines
441 B
INI

MEMORY {
RAM: start = $0000, size=$8000, type = rw, fill = yes, fillval = $FF, file = %O;
ROM: start = $8000, size=$7FFA, type = ro, fill = yes, fillval = $FF, file = %O;
ROM_VECTORS: start = $FFFA, size=6, type = ro, fill = yes, fillval = $FF, file = %O;
}
SEGMENTS {
ZEROPAGE: load=RAM, type=rw;
DATA: load=RAM, type=rw, offset=$0200;
CODE: load=RAM, type=rw, offset=$0400;
VECTORS: load=ROM_VECTORS, type=ro;
}