Mail Archives: djgpp/1999/12/06/13:13:28
On Mon, 06 Dec 1999, Gareth Williams wrote:
> I had come to the same conclusion that the 16-bit real mode interface would
> be easier. But I have a couple questions regarding the 16-bit real mode...
>
> I am guessing (going to try) the
> __dpmi_simulate_real_mode_procedure_retf_stack function is the only way to
> get a stack to my real mode function, and again to get it back. Then can I
> use _go32_dpmi_allocate_dos_memory to allocate the array needed for the
> pnpbios to return data in? (I pass a pointer to the structure/array it
> returns the data there.)
The pointer you pass can be the address of the transfer buffer. Why would
you want to go for the DOS memory allocation which can be a little
cumbersome? And after the call, you can just copy the info. in the transfer
buffer and parse it, right?
Prashant
---------------------------------------------------
One pound of learning requires ten pounds of common
sense to apply it.
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
- Raw text -