RAMZ: start = $0000, size = $0100, type = rw, define = yes;
RAM0: start = $0200, size = $1E00, type = rw, define = yes;
RAM1: start = $2000, size = $2000, type = rw, define = yes;
- ROM0: start = $4000, size = $C000, fill = yes;
+ ROM0: start = $4000, size = $B000, fill = yes;
+ ROM1: start = $F000, size = $1000, fill = yes;
}
SEGMENTS {
ZEROPAGE: load = RAMZ, type = zp, define = yes;
CODE: load = ROM0, type = ro;
RODATA: load = ROM0, type = ro;
- DISCARD: load = ROM0, type = ro;
- DISCARDDATA: load = ROM0, type = ro;
+ DISCARD: load = ROM1, type = ro;
+ DISCARDDATA: load = ROM1, type = ro;
DATA: load = ROM0, run = RAM1, type = rw, define = yes;
BSS: load = RAM1, type = bss, define=yes;
COMMONDATA: load = RAM0, type= bss;
- COMMONMEM: load = ROM0, run = RAM0, type = rw, define = yes;
- STUBS: load = ROM0, run = RAM0, type = ro;
- VECTORS: load = ROM0, type = ro, start = $FFFA;
+ COMMONMEM: load = ROM1, run = RAM0, type = rw, define = yes;
+ STUBS: load = ROM1, run = RAM0, type = ro;
+ VECTORS: load = ROM1, type = ro, start = $FFFA;
}
FILES {