1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-28 07:49:19 +00:00

update linker config

This commit is contained in:
Matthias 2023-06-29 11:24:09 +02:00
parent efb1c3a3b8
commit 21a4249952

View File

@ -1,11 +1,11 @@
MEMORY {
ZP: start = $0000, size = $0100, type = rw, define = yes;
RAM: start = $0100, size = $0200, type = rw, define = yes;
ROM: start = $8000, size = $8000, type = ro;
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 = ZP, type = zp;
DATA: load = RAM, type = rw;
CODE: load = ROM, type = ro;
}
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;
}