add via segments

This commit is contained in:
Matthias@Dell 2023-11-11 12:14:14 +01:00
parent 449610068a
commit ee9ebb06bb

View File

@ -6,8 +6,10 @@ MEMORY {
ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes; ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes;
} }
SEGMENTS { SEGMENTS {
ZP: load = RAM_ZP, type = bss, start = $0; VIA1: load = VIA1, type = bss;
RAM: load = RAM, type = bss; VIA2: load = VIA2, type = bss;
ZEROPAGE: load = RAM_ZP, type = bss, start = $0;
BSS: load = RAM, type = bss;
CODE: load = ROM, type = ro; CODE: load = ROM, type = ro;
RODATA: load = ROM, type = ro; RODATA: load = ROM, type = ro;
RESET_VECTOR: load = ROM, type = ro, start = $FFFA; RESET_VECTOR: load = ROM, type = ro, start = $FFFA;