the codes I tent to move cursor doesn't works,what's wrong?
;bx=position/nasm
mov al,0eh
out 3d4h,al
mov al,bh
out 3d5h,al
mov al,0fh
out 3d4h,al
mov al,bl
out 3d5h,al
thanks
cursor moving in pmode
Re: cursor moving in pmode
I got it! by using 'out dx,ax' instead 'out 3d4h,al',all things OK.
but I got another question at the same time:how can I scroll the screen?
but I got another question at the same time:how can I scroll the screen?
Re: cursor moving in pmode
blame me for the careless question:-)
I wrote a subroutine and now it works.
I wrote a subroutine and now it works.
Re: cursor moving in pmode
to scroll the screen you have to physically move the memory. do a block memory copy.
-- Stu --
Re: cursor moving in pmode
yes, i got it. thanks.
btw,how can i get the position of current cursor?
i tried the port 3d4 & 3d5 but failed.
btw,how can i get the position of current cursor?
i tried the port 3d4 & 3d5 but failed.