www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/13/11:23:50

Date: Mon, 13 Dec 93 10:58:28 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: calling a real-mode program

> These values are normally returned from other real-mode calls.  For
> example, some drivers have an int 0x2f that you do which returns a far
> pointer to their regular API.  This pointer is a real-mode
> segment:offset pointer.  These are the values that you pass to
> _go32_dpmi_simulate_*.

Maybe I'm making things harder than necessary.  I want to issue an unsupported
int 21 call, and I thought I needed to load a real-mode program and have it
make the call.  Can I, instead, set up data areas in real memory, then get the
real-mode int 21 vector and do a _go32_dpmi_simulate_fcall_iret() to that?

- Raw text -


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