Mail Archives: djgpp/2000/04/02/21:33:05
Eli Zaretskii wrote:
>
> On Mon, 27 Mar 2000, Jonathan Meunier wrote:
>
> > DJGPP doesn't allow reentrant interrupts..
>
> It doesn't? Could you explain why? I'm not aware of any such
> limitation for hardware interrupt handlers in DJGPP.
Err, not DJGPP itself, but rather handlers written in C.. DJGPP function
_go32_dpmi_chain_protected_mode_interrupt_vector chains the original
handler automatically. Is there a way to call the original handler only
when I want it to? What I want to do is to handle the keyboard interrupt
(faster for games), but when I want to (ie: with a flag), I'd like the
DOS keyboard handler to handle it instead. Is this possible to do this
in C, or do I have to do it all in assembly?
> > My question is, where can I find information on those wrappers? Like,
> > what they do, and what to put in them?
>
> Did you try the library docs? "info libc alpha _go32_dpmi_set_prot"
> works for me.
>
> If you need more info than the library docs offers, I suggest reading
> section 18.9 of the DJGPP FAQ, and if that's still not enough,
> download the library sources distribution (djlsr203.zip) and look
> there.
Read all of the above except for the sources, but it doesn't go in
details.. So I'll go download the sources now :)
Thanks,
.(Trancelucid).
. Jaune .
- Raw text -