2009-09-22 09:49:37 +00:00
|
|
|
# CA65 config for a Retro Replay cartridge
|
|
|
|
# default is for GAME=1, EXROM=0,
|
|
|
|
|
|
|
|
MEMORY {
|
|
|
|
IP65ZP: start = $A3, size = $0E, type = rw, define = yes;
|
|
|
|
HEADER: start = $8000, size = $09, file = %O;
|
2009-11-13 12:39:41 +00:00
|
|
|
DEFAULTS: start = $8009, size = $1F, file = %O;
|
|
|
|
ROM: start = $8028, size = $1FC9, define = yes, file = %O;
|
2009-09-22 09:49:37 +00:00
|
|
|
RAM: start = $C010, size = $0fE0, define = yes;
|
2010-12-15 08:08:47 +00:00
|
|
|
RAM2: start = $0334, size = $CB, define = yes; #extra scratch area - Tape I/O buffer
|
|
|
|
RAM3: start = $0200, size = $58, define = yes; #extra scratch area - Tape I/O buffer
|
|
|
|
RAM4: start = $6000, size = $3FC9, define = yes; #scratch area for apps embedded in cart to use
|
2009-09-22 09:49:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
CARTRIDGE_HEADER: load = HEADER, type = ro;
|
|
|
|
IP65_DEFAULTS: load = DEFAULTS, type = ro;
|
|
|
|
CODE: load = ROM, type = ro;
|
2010-12-15 08:08:47 +00:00
|
|
|
|
2009-09-22 09:49:37 +00:00
|
|
|
RODATA: load = ROM, run=ROM, type = ro;
|
|
|
|
DATA: load = ROM, run = RAM, type = rw, define = yes;
|
2010-12-15 08:08:47 +00:00
|
|
|
|
2009-09-22 09:49:37 +00:00
|
|
|
BSS: load = RAM, type = bss;
|
2010-12-15 08:08:47 +00:00
|
|
|
|
2009-09-22 09:49:37 +00:00
|
|
|
IP65ZP: load = IP65ZP, type = zp;
|
2010-12-15 08:08:47 +00:00
|
|
|
|
|
|
|
SELF_MODIFIED_CODE: load = ROM, run = RAM2, type = rw, define = yes;
|
|
|
|
|
|
|
|
APP_SCRATCH: load = RAM4, type = bss;
|
|
|
|
TCP_VARS: load = RAM4, type = bss;
|
|
|
|
HTTP_VARS: load=ROM, run = RAM3, type = rw,define = yes;
|
|
|
|
|
|
|
|
}
|