Entering PMode help

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
beyondsociety

Entering PMode help

Post by beyondsociety »

[attachment deleted by admin]
crazybuddha

Re:Entering PMode help

Post 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.
Post Reply