Mail Archives: djgpp/1994/10/29/18:56:10
To convert generic int86x calls, you must do some extra work. Get the
address of the transfer buffer (or allocate a larger one) from
_go32_info_block. Copy anything that you need to pass a pointer to
into the transfer block, and "fix" the registers so that they point to
where that will appear in real mode (seg=linear>>4, ofs=linear&15).
Then fill in the rest of the registers and do
_go32_dpmi_simulate_int(). Then copy anything back from the transfer
buffer (or other memory) that the TSR returned a pointer to.
- Raw text -