05-30-2013, 11:37 PM
Why not use inline ASM? Not tested:
Code:
sub setmemorypage(ta as ubyte)
ASM
di
ld a,(ix+5)
and 7
or 8
ld bc,32765
out (c),a
ld (23388),a
ei
END ASM
end sub
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!