YAPMQ (yet another protected mode question)

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
ubergeek
Posts: 23
Joined: Thu Aug 09, 2007 5:26 am

YAPMQ (yet another protected mode question)

Post by ubergeek »

Hi,
I'm using bootprog to load my kernel. Right now I've got one c++ file compiling to a bin, which goes on the floppy and gets loaded by bootprog.

What I want to know is whether or not I'm in protected mode. I can't figure out from the bootprog code (not very proficient in assembly) whether or not it's putting it in protected mode.

Do I just have to say [bits 32] to get into protected mode? Or can I do that in C++?
User avatar
salil_bhagurkar
Member
Member
Posts: 261
Joined: Mon Feb 19, 2007 10:40 am
Location: India

Post by salil_bhagurkar »

Protected mode is not that easy ubergeek!.. You need to set up a lot of things in assembly to get ur processor into protected mode... It'll take time to understand all that... Have patience.. Search for protected mode on google and see all the code and read every thing you can...

Google will give you many tutorials...
User avatar
dc0d32
Member
Member
Posts: 69
Joined: Thu Jun 09, 2005 11:00 pm
Location: Right here

Post by dc0d32 »

Post Reply