2010-07-30 14:00:25 +00:00
|
|
|
# CA65 config for a M/L stub that will use memory from $6000..$A000 and $c010..$cfff
|
|
|
|
|
|
|
|
MEMORY {
|
|
|
|
IP65ZP: start = $A3, size = $0E, type = rw;
|
|
|
|
MAINRAM: start = $3ffe, size = $3FC9, define = yes, file = %O;
|
|
|
|
HIRAM: start = $C010, size = $0fE0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SEGMENTS {
|
|
|
|
STARTUP: load = MAINRAM, type = ro;
|
|
|
|
IP65_DEFAULTS: load = MAINRAM, type = ro;
|
|
|
|
CODE: load = MAINRAM, type = ro;
|
2010-08-01 15:52:27 +00:00
|
|
|
SELF_MODIFIED_CODE: load = MAINRAM, type = rw;
|
2010-07-30 14:00:25 +00:00
|
|
|
RODATA: load = MAINRAM, type = ro;
|
|
|
|
DATA: load = MAINRAM, type = rw, define = yes;
|
|
|
|
BSS: load = MAINRAM, type = bss;
|
|
|
|
|
|
|
|
IP65ZP: load = IP65ZP, type = zp;
|
|
|
|
|
|
|
|
ZEROPAGE: load = IP65ZP, type = zp;
|
|
|
|
|
|
|
|
TCP_VARS: load = HIRAM, type = bss;
|
|
|
|
}
|