2013-05-31, 10:00 AM
boriel Wrote:Ooops, you are right, I overseen it. Thanks! Generally I prefer 128K USR0 mode because interrupts are not harmful in this mode.LCD Wrote: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
This is a perfect case for FASTCALL
Code:sub FASTCALL setmemorypage(ta as ubyte) ASM di ; ld a,(ix+5) ; Not needed already in A 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!


