I hate IRQs

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
System Halted

I hate IRQs

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

RE:I hate IRQs...So Do I

Post 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"
mikeleany

RE:I hate IRQs...So Do I

Post by mikeleany »

System Halted

RE:I hate IRQs...So Do I

Post 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
mikeleany

RE:I hate IRQs...So Do I

Post by mikeleany »

You mean how to setup the interrupt descriptor? Or what?
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

RE:I hate IRQs

Post 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
Post Reply