6502-OS/linker.conf

15 lines
645 B
Plaintext
Raw Normal View History

2023-10-26 19:51:20 +02:00
MEMORY {
2023-11-09 12:07:12 +01:00
RAM_ZP: start = $0000, size = $100, type = rw, file = "", fill = yes;
RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes;
VIA1: start = $6000, size = $600f, type = rw, file = "", fill = yes;
VIA2: start = $7000, size = $700f, type = rw, file = "", fill = yes;
ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes;
2023-10-26 19:51:20 +02:00
}
SEGMENTS {
2023-11-09 12:07:12 +01:00
ZP: load = RAM_ZP, type = bss, start = $0;
2023-10-30 22:15:09 +01:00
RAM: load = RAM, type = bss;
2023-10-26 19:51:20 +02:00
CODE: load = ROM, type = ro;
2023-10-27 16:50:58 +02:00
RODATA: load = ROM, type = ro;
2023-10-26 19:51:20 +02:00
RESET_VECTOR: load = ROM, type = ro, start = $FFFA;
}