Mail Archives: djgpp/1996/05/21/07:20:50
On Tue, 21 May 1996, Ralf Suessbrich wrote:
> _go32_dpmi_allocate_real_mode_callback_iret
>
> __dpmi_allocate_real_mode_callback
>
>
> Can i use both, do they do the same ???
> Or is there a difference between them ?
>
> I want to write a realmode i-handler, so wich
> one should i use (the FAQ suggests the __dpmi ones,
> i believe).
The FAQ clearly says in section 18.9 that the `__dpmi' functions should
be used for interrupt handlers written in assembly, while the `_go32_'
functions are for handlers written in C. The `__dpmi' variety are
bare-bones wrappers around the DPMI calls, while `_go32' functions set up
the stack, push registers and do other things to convert a C function
into an interrupt handler.
- Raw text -