cursor and video problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
chendsh

cursor and video problem

Post by chendsh »

Hi,
I wrote a small kernel and use it to print text message
and set the cursor to the end of the message.
I access the video buffer using a pointer points to
0XB8000, but it seems it always points to the line
which is 8 lines below it. That means the first text
is always displayed on the 9th line.

But strangely, when I clear the whole screen, starting
at 0XB8000, it works fine.

I know that there must be something wrong with the virtual
memory to physical memory change, but I am not familiar
with it. Anything valuable for me? Thanks.
Post Reply