Date: Mon, 13 Dec 93 11:39:28 -0500 From: DJ Delorie To: peprbv AT cfa0 DOT harvard DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: 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? Oh - that's easy then. Use _go32_dpmi_simulate_int(). For small data requests, use the transfer buffer referenced in 's info structure.