define spi mem

This commit is contained in:
matthias@arch 2023-12-31 01:56:02 +01:00
parent 498b9803f1
commit de098dd9c6

View File

@ -3,7 +3,7 @@ MEMORY {
# RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes;
STACK: start = $0100, size = $0100, type = rw, file = "", fill = yes;
RAM: start = $0200, size = $4e00, type = rw, file = "", fill = yes;
SPI: start = $5000, size = $1000, type = rw, file = "../spi.bin", fill = no;
SPI: start = $5000, size = $1000, type = rw, file = "../spi.bin", fill = no, define = yes;
VIA1: start = $6000, size = $000f, type = rw, file = "", fill = yes;
VIA2: start = $7000, size = $000f, type = rw, file = "", fill = yes;
ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes;
@ -15,8 +15,8 @@ SEGMENTS {
ZEROPAGE: load = RAM_ZP, type = bss, start = $0;
BSS: load = RAM, type = bss;
CODE: load = ROM, type = ro;
RODATA: load = ROM, type = ro;
RODATA: load = ROM, type = ro, align = $800;
RESET_VECTOR: load = ROM, type = ro, start = $FFFA;
SPI: load = SPI, type = rw, define = yes;
SPI: load = SPI, type = rw;
TEST: load = TEST,type = rw;
}