Page 1 of 1

IDT Explanation

Posted: Mon Jan 20, 2014 5:19 pm
by rafaelcor
Hello to all,
my friend and I are developing an OS and we need an explanation about IDT:
how to configure it, using interruptions, etc
Thanks
PD: We are using C and inline assembly with GCC

Re: IDT Explanation

Posted: Mon Jan 20, 2014 8:10 pm
by PearOs
Read this: http://www.jamesmolloy.co.uk/tutorial_h ... 20IDT.html
If you follow that tutorial you will know everything you need and be on your way. Keep in mind there may be a bug though in his interrupt code somewhere, I know I had one and ended up fixing it when I read the tutorial but that was a year ago.

Best of luck,

Matt

Edit: Or use the Wiki: http://wiki.osdev.org/Interrupt_Descriptor_Table ;)