Protected Mode problem loading the tables

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
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Protected Mode problem loading the tables

Post by ComputerPsi »

I have been experimenting with protected mode for a while and was able to successfully load the gdt and idt in the boot sector. Whenever I loaded the tables from another place (from another memory place, like 0x600:0), it would skrew up. The DS is correct when loading it. The tables are correct - I'm certain of it. Is there something I didn't do correctly? Or do the tables always have to be loaded from segment 0? Maybe the descriptor has to be changed in some way? Please help. I have been writing and testing my program for two days now trying to figure this out..
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Post by ComputerPsi »

Never mind. I figured it out. In the descriptor, the location of the table is a double word for a reason.. So much one can learn from sharing information to others. :P
Post Reply