agree with pete. Get a working small kernel (geezer's one should be fine for this) and check yours is not missing a crucial point ...
things you must do:
1. remap the PIC so that it does not interfere with any other thing. see the 8259a documentation on OSRC for details
2. install a valid IDT (program the IDTR register with LIDT ... see the Holy Intel Manual for details)
3. install valids descriptors in this IDT. At this point, you should be able to check that the interrupts can be called by software using INT nn instruction
4. unmask the interrupts you need. Make sure you unmasked them properly by reading the mask back and displaying it on screen. People tends to clear only the last interrupt they want to enable rather than accumulating them (check
irqCheckEnabled)
5. make the CPU respond to IRQs from the PIC with the STI instruction.
More detailed tutorials should be available on Bona Fide page.