Entering PMode help
Re:Entering PMode help
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.
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.