2009-03-08 10:18:59 +00:00
|
|
|
# CA65 config for a Retro Replay cartridge
|
|
|
|
# default is for GAME=1, EXROM=0,
|
|
|
|
|
2009-01-22 01:27:03 +00:00
|
|
|
MEMORY {
|
|
|
|
ZP: start = $02, size = $1A, type = rw, define = yes;
|
|
|
|
IP65ZP: start = $5f, size = $10, type = rw, define = yes;
|
|
|
|
HEADER: start = $0000, size = $9, file = %O;
|
|
|
|
ROM: start = $8009, size = $1FF7, define = yes, file = %O;
|
|
|
|
RAM: start = $6000, size = $2000, define = yes;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
CARTRIDGE_HEADER: load = HEADER, type = ro;
|
|
|
|
CODE: load = ROM, type = ro;
|
2009-03-08 10:18:59 +00:00
|
|
|
RODATA: load = ROM, run=ROM, type = ro;
|
2009-01-22 01:27:03 +00:00
|
|
|
DATA: load = ROM, run = RAM, type = rw, define = yes;
|
|
|
|
BSS: load = RAM, type = bss;
|
|
|
|
IP65ZP: load = IP65ZP, type = zp;
|
|
|
|
ZEROPAGE: load = ZP, type = zp;
|
|
|
|
|
|
|
|
|
|
|
|
}
|