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;
|
2023-11-13 19:14:39 +01:00
|
|
|
# RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes;
|
|
|
|
RAM: start = $0100, size = $4eff, type = rw, file = "", fill = yes;
|
|
|
|
SPI: start = $5000, size = $1000, type = rw, file = "spi.bin", fill = no;
|
2023-11-09 12:07:12 +01:00
|
|
|
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-11 12:14:14 +01:00
|
|
|
VIA1: load = VIA1, type = bss;
|
|
|
|
VIA2: load = VIA2, type = bss;
|
|
|
|
ZEROPAGE: load = RAM_ZP, type = bss, start = $0;
|
|
|
|
BSS: 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;
|
2023-11-13 19:14:39 +01:00
|
|
|
SPI: load = SPI, type = rw;
|
2023-10-26 19:51:20 +02:00
|
|
|
}
|