Mail Archives: djgpp/1997/02/23/06:22:31
On 22 Feb 1997, nikki wrote:
> currently, i'm locking all the memory in the same way i would have done for
> interrupts, then i pass the entry point to my function as
> SEG=(((unsigned int)wibble)>>4) & 0xffff;
> OFF=wib & 0xf
>
> but i get sigsegv problems everywhere :( it's not actually an
> interrupt that's calling me so i can't use the same routines i used
> to do those with can i?
> i can't seem to find anything in the faq that helps
The FAQ explains in section 18.8 how to set up a real-mode callback,
which is what you need. If I understand what you need to do
correctly, you should call the library function
`_go32_dpmi_allocate_real_mode_callback_retf', then pass the `segment'
and `offset' fields it returns to your 16-bit real-mode driver.
- Raw text -