Page 1 of 1

clear_screen() doesn't work

Posted: Fri Aug 06, 2004 6:23 am
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() .

Re:clear_screen() doesn't work

Posted: Fri Aug 06, 2004 6:24 am
by Vladaz
Sorry, now i attached that file.

Re:clear_screen() doesn't work

Posted: Fri Aug 06, 2004 7:38 am
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.