delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/03/14:42:41

Date: Sat, 3 Jan 1998 11:39:42 -0800 (PST)
Message-Id: <199801031939.LAA26813@adit.ap.net>
Mime-Version: 1.0
To: "Olmeca" <chromes AT hotmail DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Interrupt-vectors

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019