delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/03/09:36:06

Date: Thu, 3 Mar 94 09:18:15 -0500
From: dj AT ctron DOT com (DJ Delorie)
To: mmoss AT panix DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Proper way to interrupt???

The safest way to do interrupts is to use the DPMI services in
<dpmi.h>.  You fill in a DPMI register struct and pass it to
_go32_dpmi_simulate_interrupt().  If you need to pass data, allocate
some dos memory and fill in the seg/ofs registers in the reg struct to
point to it.  See samples/dpmi/* for some examples.


- Raw text -


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