Mail Archives: djgpp/1993/12/13/12:13:25
> > 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 <go32.h>'s info
structure.
- Raw text -