Mail Archives: djgpp/1997/02/17/15:28:37
Hi -
I'm having some difficulty installing a real mode callback to
a Packet Driver.
If anybody has an example of installing a protocol over a
Packet Driver and just wants to post that that would be fine.
Otherwise - here goes -
1) From the FAQ I think I should be calling go32_alloc_realmode_retf
and then using __dpmi_int. The pktdrv call needs a ton of registers
passed and originally I was using int86x but this always crashed.
Are these the "proper" routines to use or should I always use
the dpmi calls or the go32 calls. Everything I'm writing will be in C.
2) What is the best way to use 2 bytes of real mode memory. I know
that I can either dpmi_conventional_alloc or use the transfer
buffer. How does one write into the transfer buffer, I only saw
examples of how to pass it to real mode routines?
Thanks
Andrew
- Raw text -