2023-10-26 19:51:20 +02:00
|
|
|
MEMORY {
|
2023-12-08 22:56:35 +01:00
|
|
|
RAM_ZP: start = $0000, size = $0100, type = rw, file = "", fill = yes;
|
2023-11-13 19:14:39 +01:00
|
|
|
# RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes;
|
2023-12-08 22:56:35 +01:00
|
|
|
STACK: start = $0100, size = $0100, type = rw, file = "", fill = yes;
|
|
|
|
RAM: start = $0200, size = $4e00, type = rw, file = "", fill = yes;
|
2023-12-31 01:56:02 +01:00
|
|
|
SPI: start = $5000, size = $1000, type = rw, file = "../spi.bin", fill = no, define = yes;
|
2023-12-08 22:56:35 +01:00
|
|
|
VIA1: start = $6000, size = $000f, type = rw, file = "", fill = yes;
|
|
|
|
VIA2: start = $7000, size = $000f, type = rw, file = "", fill = yes;
|
2023-11-09 12:07:12 +01:00
|
|
|
ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes;
|
2023-12-27 16:56:10 +01:00
|
|
|
TEST: start = $9000, size = $1000, type = rw, file = "../test.bin";
|
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-12-31 01:56:02 +01:00
|
|
|
RODATA: load = ROM, type = ro, align = $800;
|
2023-10-26 19:51:20 +02:00
|
|
|
RESET_VECTOR: load = ROM, type = ro, start = $FFFA;
|
2023-12-31 01:56:02 +01:00
|
|
|
SPI: load = SPI, type = rw;
|
2023-12-27 16:56:10 +01:00
|
|
|
TEST: load = TEST,type = rw;
|
2023-10-26 19:51:20 +02:00
|
|
|
}
|