dickson@bruce.cs.monash.OZ.AU (law) (10/15/90)
Hi netters, I am trying to setup an interrupt descriptor table in 80386 protected mode, based on the program supplied by Tom Green, DDJ sept 89. I have set up the actual table and everything seems to be in places ( I have used T Debugger to check various address) and the program runs ok before I load the idtr. However, once I loaded the base address of the IDT to idtr, even before I turn on the interrupt, the program hangs. I think the problem is : when I call the routine real_mode(), which is a function to set me back to real mode, somehow the stack got mixed up and would not return properly. But I did not know why, and I thought loading idtr would not affect anything else, am I right? Is anyone out there doing similar things? I would like to hear from you. Thanks for reading this.