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;
|
2009-03-28 06:13:14 +00:00
|
|
|
HEADER: start = $8000, size = $16, file = %O;
|
|
|
|
ROM: start = $8016, size = $1F00, define = yes, file = %O;
|
2009-04-05 10:10:53 +00:00
|
|
|
RAM: start = $C080, size = $0f80, define = yes;
|
2009-01-22 01:27:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
2009-03-28 06:13:14 +00:00
|
|
|
CARTRIDGE_HEADER: load = HEADER, type = ro;
|
2009-01-22 01:27:03 +00:00
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
|
|
}
|