Date: Mon, 6 Mar 1995 10:03:38 +0500 From: hvb AT netrix DOT com To: Matthew Lamari Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Interrupt Handling Issues. ??? References: Matthew Lamari writes: > > Can anyone recommend a solution for either or both of my keyboard and > SoundBlaster dilemma? Does the user merely have to pray that a > > The following functions provide a method in which you can get a real mode interrupt to call your protected mode code _go32_dpmi_allocate_real_mode_callback_iret _go32_dpmi_set_real_mode_interrupt_vector eg. _go32_dpmi_seginfo rm_si; rm_si.pm_offset = (int)
; if (_go32_dpmi_allocate_real_mode_callback_iret (&rm_si, &Rm_regs)) *** error *** else { disable (); _go32_dpmi_set_real_mode_interrupt_vector(, &rm_si); enable (); } Hope this helps. ============================================================== Hung Bui Internet: h DOT bui AT ieee DOT org Netrix Corporation Phone: +1 703 793 1016 13595 Dulles Technology Drive Fax: +1 703 713 3805 Herndon Va 22071 ==============================================================