Mail Archives: djgpp/1994/08/15/22:54:59
I saw someone else request this same thing..
How do I write an IRQ handler for DJGPP?
Assuming that I'm trapping an 8 bit IRQ, can I just do:
_go32_dpmi_get_protected_mode_interrupt_vector(IRQNUM + 8, &_this_is_my_seg_info_struct_which_I_have_filled_properly);
Will that do it? (If so, my problem is that I'm improperly programming my hardware to generate the IRQs. But I don't know if I'm even hooking them right!)
(I HAVE gotten this to work with the timer interrupt..)
- Raw text -