delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/26/14:21:50

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707261819.AA119991173@typhoon.rose.hp.com>
Subject: Re: __dpmi_allocate_real_mode_callback: iret or retf?
To: eldredge AT ap DOT net (Nate Eldredge)
Date: Sat, 26 Jul 1997 11:19:32 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <199707261600.JAA29571@adit.ap.net>; from "Nate Eldredge" at Jul 26, 97 9:00 am

> 
> Does the wrapper given by __dpmi_allocate_real_mode_callback end in an iret
> or a retf?
I believe I asked this exact same question back in march or so.  Eli's
response was something along the lines of 
'neither, don't use these unless you're doing everything
in assembly, strick with the go32 functions'

> I'd like to hook real-mode interrupts and am wondering if this
> wrapper is suitable for doing so.
If you are using C use the go32 functions.  If you'd like I can give you my
code that uses real mode call backs, its an ARP stack over Packet Driver.

Andrew

- Raw text -


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