www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/15/16:07:26

Date: Sat, 15 Jul 1995 14:55:29 -0400 (EDT)
From: Cuthalion / Sliced Bread <enrico AT max DOT tiac DOT net>
To: DJGPP Listserver <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Interrupt vectors?

	Okay.  I just picked up DJGPP 2.0 beta, and my first project with 
it is to hook a hardware interrupt, although my friend did try "Hello, 
World" first, so we do know it works.  (If you know the number of a good 
shrink...)   

	So, the question is..  How do I do it?  The info files have all
the functions and stuff, but they're really not very well documented.  Do
I need to do any asm stuff involving irets or other happy opcodes? (or
allocate iret wrappers..) Since it is not documented well either (that I
could find) I am assuming that my hardware interrupt handler routines
should be void routine(void), is this correct? 

	What would be _REALLY_ nice would be some sample code in the info 
files.  (Hint, hint, hint.)  If someone tells me how to get it working, 
I'd be more than happy to write up this section, assuming I can not only 
get it to work, but also understand it.  :)

	Also, whatever happened to the 
(either _go32.. or _..)_dpmi_chain_protected_mode_interrupt_vector function? 

/***************************************************************
*** Jesse Morris *** enrico AT max DOT tiac DOT net *** jmorris AT ace DOT com ***
***************** Cuthalion / Sliced Bread  *******************/

- Raw text -


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