Date: Sat, 3 Jan 1998 11:39:42 -0800 (PST) Message-Id: <199801031939.LAA26813@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Olmeca" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Interrupt-vectors Precedence: bulk At 09:50 1/2/1998 GMT, Olmeca wrote: >I want to point the vector of the keyboard interrupt to my own function. I >know how to get and set the vector, but I don't know how to get the address >of the function, and use it with the set-vector-routines of djgpp. Look at the libc docs for `_go32_dpmi_set_protected_mode_interrupt_vector'. There is an example there that may help. I believe the non-`go32' version works the same way. Also read the relevant FAQ sections (18.8-18.11) if you haven't. Nate Eldredge eldredge AT ap DOT net