diff --git a/client/cfg/c64_mlstub.cfg b/client/cfg/c64_mlstub.cfg new file mode 100644 index 0000000..39c73c4 --- /dev/null +++ b/client/cfg/c64_mlstub.cfg @@ -0,0 +1,25 @@ +# 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; + + 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; + }