Bona Fide OS Developer
View unanswered posts | View active topics It is currently Fri Nov 24, 2017 4:57 pm



Post new topic Reply to topic  [ 1 post ] 
 Can't enter protected mode in my bootloader. 
Author Message

Joined: Tue Jul 06, 2010 11:43 am
Posts: 5
Location: New York, New York USA
Post Re: Can't enter protected mode in my bootloader.
Here's a few questions to ask yourself:

Have you set up a GDT?
- Are all the entries zeroed out?
- Do you have a null descriptor?
- Do you have a data and code descriptor?

Have you set up an IDT?
- Are all the pointers set to zero?
- Do you have a valid exception handler?

Did you make sure interrupts are off before the switch?
- Did you turn them back on?

_________________
There are 10 types of people in the world,
Those who get binary,
And those who don't.
Image


Tue Nov 02, 2010 12:00 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.