aw cheers jim, heres what iv been trying.
all i get now though is garbled characters on the editor but now even when i do print "nino" or something thats garbled too so something has changed.
BASIC
10 CLEAR 64367
20 LOAD "romswitch" CODE 65167,33
30 LET ramtop=PEEK 23730+256*PEEK 23731
40 RANDOMIZE USR 65167
50 LET chars=ramtop+1-256
60 POKE 23606,chars-256*INT(chars/256)
70 POKE 23607,INT(chars/256)
"romswitch"
ORG 65167
LD A,(0x5b5c)
OR 16
LD BC,0x7ffd
DI
OUT (C),A
LD BC,768
LD HL,(15615)
LD DE,(23730)
LDIR
LD BC,0x7ffd
LD A,(0x5b5c)
OUT (C),A
EI
RET