OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 2:33 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: clear_screen() doesn't work
PostPosted: Fri Aug 06, 2004 6:23 am 
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() .


Top
  
 
 Post subject: Re:clear_screen() doesn't work
PostPosted: Fri Aug 06, 2004 6:24 am 
Sorry, now i attached that file.


Top
  
 
 Post subject: Re:clear_screen() doesn't work
PostPosted: Fri Aug 06, 2004 7:38 am 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], FAST WebCrawler [Crawler], Google [Bot] and 98 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group