Keyboard driver kills interrupts on bochs.
Posted: Mon Jan 16, 2006 1:09 pm
I decided my OS needed a complete gdt/idt/irq rewrite before I continued any farther into multitasking. So I stripped my kernel to the barebones and started from there. I then backported it to the main kernel.
In doing this, I had the code setup so I only changed one line of code for my PIT and keyboard drivers. After I had done this, I fired it up in bochs and all interrupts die. I could tell this because I had my interrupt handler print a ! to the screen every time an interrupt was fired. The PIT just stopped, and keyboard didn't work.
I then tried my image in qemu, vmware, and bare metal. All worked flawlessly. Can anyone help me get my driver going in bochs again? I really need to be able to use the debugger when the time comes.
The code, disk images, and instructions on compiling can be found here: http://www.codymays.net/content/2006/01 ... long-time/
Any help would be greatly appreciated.
In doing this, I had the code setup so I only changed one line of code for my PIT and keyboard drivers. After I had done this, I fired it up in bochs and all interrupts die. I could tell this because I had my interrupt handler print a ! to the screen every time an interrupt was fired. The PIT just stopped, and keyboard didn't work.
I then tried my image in qemu, vmware, and bare metal. All worked flawlessly. Can anyone help me get my driver going in bochs again? I really need to be able to use the debugger when the time comes.
The code, disk images, and instructions on compiling can be found here: http://www.codymays.net/content/2006/01 ... long-time/
Any help would be greatly appreciated.