Page 1 of 1

Protected Mode problem loading the tables

Posted: Thu Jul 13, 2006 6:12 am
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..

Posted: Thu Jul 13, 2006 6:33 am
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