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.
Now I am already in Pmode, following code has been move to 0x90000 physical address. When I use bochs to try my code,i find there is a big bug in my code. Attachment is my code and image.
BUG: I cannot use INT 0x0, but there is no problem with my idt setting. In bochs, when i run the INT instruction, the output is " LOCK PUSH EBX "
Pupose of following code : Setup IDT in Pmode, and have a test.
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Would you mind keeping related questions in one thread? Right now you're spreading the general topic "how to get pmode and my interrupt handlers to co-operate" across four forum threads...
Every good solution is obvious once you've found it.