2010-08-08 09:02:30 +00:00
|
|
|
# CA65 config for a M/L stub that will use memory from $6000..$A000 and $c010..$cfff
|
|
|
|
|
|
|
|
MEMORY {
|
|
|
|
IP65ZP: start = $A3, size = $12, type = rw;
|
2010-08-08 12:08:34 +00:00
|
|
|
STARTRAM: start = $07FF, size = $1000, file = %O;
|
|
|
|
MAINRAM: start = $4000, size = $3FC9, define = yes, file = %O;
|
2010-08-08 09:02:30 +00:00
|
|
|
HIRAM: start = $C010, size = $0fE0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SEGMENTS {
|
2010-08-08 12:08:34 +00:00
|
|
|
STARTUP: load = STARTRAM, type = rw;
|
|
|
|
MAINSTART: load = MAINRAM, type = rw;
|
|
|
|
|
2010-08-08 09:02:30 +00:00
|
|
|
IP65_DEFAULTS: load = MAINRAM, type = ro;
|
|
|
|
CODE: load = MAINRAM, type = ro;
|
|
|
|
SELF_MODIFIED_CODE: load = MAINRAM, type = rw;
|
|
|
|
RODATA: load = MAINRAM, type = ro;
|
|
|
|
DATA: load = MAINRAM, type = rw, define = yes;
|
2010-09-04 07:50:58 +00:00
|
|
|
HTTP_VARS: load = MAINRAM, type = rw, define = yes;
|
2010-08-08 09:02:30 +00:00
|
|
|
BSS: load = MAINRAM, type = bss;
|
|
|
|
|
|
|
|
IP65ZP: load = IP65ZP, type = zp;
|
|
|
|
|
|
|
|
ZEROPAGE: load = IP65ZP, type = zp;
|
|
|
|
|
2010-08-08 12:08:34 +00:00
|
|
|
TCP_VARS: load = HIRAM, type = bss;
|
2010-09-04 07:50:58 +00:00
|
|
|
|
2010-08-08 09:02:30 +00:00
|
|
|
}
|