Page 1 of 1
Entering PMode help
Posted: Sun Aug 11, 2002 8:06 pm
by beyondsociety
[attachment deleted by admin]
Re:Entering PMode help
Posted: Sun Aug 11, 2002 9:38 pm
by crazybuddha
jmp codesel:0x2000 ; jump into protected mode
Is there something there??
Get rid of the A20 enabling until you solve the switch.
Basically, the problems you face are that once you switch the processor, it is expecting 32-bit code, CS will get whacked by interrupts, and the base address in the descriptor will make the offsets in your code invalid (supposing that it is 0x0).
And your 'printstring' won't work in pmode.