6502-OS/linker.conf
matthias@rpi 3fcf8e45c6 add RAM
2023-10-30 22:15:09 +01:00

11 lines
354 B
Plaintext

MEMORY {
ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes;
RAM: start = $0000, size = $5fff, type = rw, file = "", fill = yes;
}
SEGMENTS {
RAM: load = RAM, type = bss;
CODE: load = ROM, type = ro;
RODATA: load = ROM, type = ro;
RESET_VECTOR: load = ROM, type = ro, start = $FFFA;
}