Page 1 of 1

Enabling Interrupts

Posted: Sat Oct 05, 2002 11:22 am
by Okiesmokie
I am having troubles enabling interrupts in PMode. Whenever i use 'sti' i get a General Protection Exception. I have set up an IDT and remapped the PIC. Maybe there is something im missing?

Code is here: http://members.lycos.co.uk/gl0ss/SteveOS.zip

Thanks in advance for any help.

Re:Enabling Interrupts

Posted: Sat Oct 05, 2002 10:36 pm
by Okiesmokie
I have been having this problem for awhile now, any help would be GREATLY appreciated

Re:Enabling Interrupts

Posted: Sun Oct 06, 2002 4:25 am
by Whatever5k
Hm, you seem to only build descriptors for the expections...
But I cannot see any descriptors for the IRQ interrupts...so there are missing descriptors...this may be the problem...

Re:Enabling Interrupts

Posted: Sun Oct 06, 2002 12:33 pm
by Okiesmokie
Bah there is not a problem in my code, it was a bug in bochs 1.5.1 >:(