mirror of
https://github.com/mre/mos6502.git
synced 2024-11-25 02:33:26 +00:00
update linker config
This commit is contained in:
parent
efb1c3a3b8
commit
21a4249952
@ -1,11 +1,11 @@
|
|||||||
MEMORY {
|
MEMORY {
|
||||||
ZP: start = $0000, size = $0100, type = rw, define = yes;
|
RAM: start = $0000, size=$8000, type = rw, fill = yes, fillval = $FF, file = %O;
|
||||||
RAM: start = $0100, size = $0200, type = rw, define = yes;
|
ROM: start = $8000, size=$7FFA, type = ro, fill = yes, fillval = $FF, file = %O;
|
||||||
ROM: start = $8000, size = $8000, type = ro;
|
ROM_VECTORS: start = $FFFA, size=6, type = ro, fill = yes, fillval = $FF, file = %O;
|
||||||
}
|
}
|
||||||
|
|
||||||
SEGMENTS {
|
SEGMENTS {
|
||||||
ZEROPAGE: load = ZP, type = zp;
|
ZEROPAGE: load=RAM, type=rw;
|
||||||
DATA: load = RAM, type = rw;
|
DATA: load=RAM, type=rw, offset=$0200;
|
||||||
CODE: load = ROM, type = ro;
|
CODE: load=RAM, type=rw, offset=$0400;
|
||||||
}
|
VECTORS: load=ROM_VECTORS, type=ro;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user