clear_screen() doesn't work

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
Vladaz

clear_screen() doesn't work

Post by Vladaz »

Hello again,
now I have another problem. I think i am real lammer. I have again a simple but hard to solve it for me problem. I have written a function that should clear the screen. But now it restarts me pc. When I remove the line that calls that function, it halts and doesn't do anything and CPU Usage becomes 100%.
I have atached now my kernel code.
The function is named clear_screen() .
Vladaz

Re:clear_screen() doesn't work

Post by Vladaz »

Sorry, now i attached that file.
Vladaz

Re:clear_screen() doesn't work

Post by Vladaz »

Hmm. I think everything works. But my bootloader is set to load 0x02 sectors. But I think it loads just one sector. When I minimized my kernel till smaller than 512bytes, and wrote clear_screen(), then it worked. So now I know why those problems appeared.
Post Reply