Date: Mon, 15 Aug 1994 21:20:51 -0400 From: Cuthalion / Sliced Bread To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: IRQs?! 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..)