Change link file to output flat binary

This commit is contained in:
Byron Lathi
2022-04-21 17:37:12 -05:00
parent fcbf45f7ea
commit 5c72c574e5

View File

@@ -2,16 +2,12 @@ MEMORY
{
ZP: start = $0, size = $100, type = rw, define = yes;
SDRAM: start = $200, size = $7cf0, type = rw, define = yes;
ROM: start = $D000, size = $3000, type = rw, define = yes;
}
FILES {
%O: format = bin;
ROM: start = $D000, size = $3000, type = rw, define = yes, file = %O;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp, define = yes;
DATA: load = SDRAM, type = rw, define = yes;
DATA: load = ROM, type = rw, define = yes, run = SDRAM;
BSS: load = SDRAM, type = bss, define = yes;
HEAP: load = SDRAM, type = bss, optional = yes;
STARTUP: load = ROM, type = ro;