Enabling Interrupts

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
Okiesmokie

Enabling Interrupts

Post 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.
Okiesmokie

Re:Enabling Interrupts

Post by Okiesmokie »

I have been having this problem for awhile now, any help would be GREATLY appreciated
Whatever5k

Re:Enabling Interrupts

Post 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...
Okiesmokie

Re:Enabling Interrupts

Post by Okiesmokie »

Bah there is not a problem in my code, it was a bug in bochs 1.5.1 >:(
Post Reply