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() .
clear_screen() doesn't work
Re:clear_screen() doesn't work
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.