Problem with the IDT
Posted: Thu Jan 29, 2009 5:35 am
Hi @all,
I´m writing my kernel in FreeBASIC. Now I´m at the point where I should use interrupts. So I wrote some functions that create and load a IDT. I wrote a function and created an IDT-entry for it. Then I tried to call int 0 to test it, but instead of printing text to the screen, the kernel crashed.
I hope you can help me, I have no ideas what to do.
The version of my kernel with the problem is here: http://darkinsanity.freehoster.ch/FROST_debug.zip
The logfile of Bochs is here: http://darkinsanity.freehoster.ch/bochs.log
I´m writing my kernel in FreeBASIC. Now I´m at the point where I should use interrupts. So I wrote some functions that create and load a IDT. I wrote a function and created an IDT-entry for it. Then I tried to call int 0 to test it, but instead of printing text to the screen, the kernel crashed.
I hope you can help me, I have no ideas what to do.
The version of my kernel with the problem is here: http://darkinsanity.freehoster.ch/FROST_debug.zip
The logfile of Bochs is here: http://darkinsanity.freehoster.ch/bochs.log