delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/25/16:09:43

Date: Fri, 25 Jun 93 15:43:14 EDT
From: dave AT echologic DOT com (Dave Hayden 908- 946-1107)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: getvect() and setvect()

I apologize if this is a repeat message, but our mail has been down
for several days, so I don't know if anyone replied, or even if the
message was posted to begin with....

I am trying to port the DFLAT windowsing library described in Dr.
Dobbs Journal to DJGPP.  This library was originally written in
Borland C.  The library uses getvect() and setvect() to intercept the
keyboard and timer interrupts.

Getvect() and setvect() don't appear to be supported in djgpp,
apparently because the interrupts involve a task switch back to 16 bit
land.  I've thought of a couple things that might get getvect() and
setvect() working, but they are all really ugly and might not work at all.

Has anyone tackled this problem?  Is there an easy way to intercept
the keyboard & timer interrupts or should I just figure a way to
rewrite the code that avoids the need.

Dave Hayden

- Raw text -


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