Page 1 of 1

I hate IRQs

Posted: Wed Jul 02, 2003 11:00 pm
by System Halted
How do i setup an irq for the keyboard. I hate to ask but I cant find any thing on the web.

RE:I hate IRQs...So Do I

Posted: Wed Jul 02, 2003 11:00 pm
by TripleFault
I have been trying to find the exact same thing that you are but I didn't find anything from anywhere.  One source that I've heard might be good is the Indispensable PC Hardware Book.  I, personally, haven't read it though.  You might also want to check the source code of some free kernels here on OSDEV.
                                          -TripleFault !)

"There's no place like 127.0.0.1"

RE:I hate IRQs...So Do I

Posted: Wed Jul 02, 2003 11:00 pm
by mikeleany

RE:I hate IRQs...So Do I

Posted: Wed Jul 02, 2003 11:00 pm
by System Halted
None of those have any info on irqs. I only need to set up the irq right now. Awww guess I'll have to look in my intel Architecture manual :( .

>system halted

RE:I hate IRQs...So Do I

Posted: Thu Jul 03, 2003 11:00 pm
by mikeleany
You mean how to setup the interrupt descriptor? Or what?

RE:I hate IRQs

Posted: Sun Jul 06, 2003 11:00 pm
by kataklinger
Remap PIC, setup IDT, load IDTR, enable IRQs on PIC and do STI
in your IRQ1 routine you should read port 0x60 and do out 0x20,0x20