Page 1 of 1
PMode jumping problem
Posted: Wed Jan 08, 2003 11:43 am
by FlashBurn
I have some test code to jump into PMode, but I get a failure(triple fault) "jump_protected: gate type 0 unsupported"! What does this mean?
Re:PMode jumping problem
Posted: Wed Jan 08, 2003 4:57 pm
by jrfritz
I don't know...but it sounds like something to do with the GDT or a20 gate maybe?
Re:PMode jumping problem
Posted: Thu Jan 09, 2003 7:56 am
by FlashBurn
[attachment deleted by admin]
Re:PMode jumping problem
Posted: Thu Jan 09, 2003 8:15 am
by Pype.Clicker
Your GDT registers aren't loaded properly. ldgt will load the base address with 0, which is unlikely to be right.
Moreover, the GDT isn't even present in your bootsector ...
Re:PMode jumping problem
Posted: Thu Jan 09, 2003 8:37 am
by FlashBurn
No its in the kernel. I load 10 sectors, start with the 2nd. The first thing there is now the GDT and when this is working there will also be the IDT.