YAPMQ (yet another protected mode question)
Posted: Thu Aug 09, 2007 11:36 am
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++?
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++?