Message-ID: <38E7E9C9.56474257@videotron.ca> From: Trancelucid X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: keyboard interrupt References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 34 Date: Sun, 02 Apr 2000 20:46:01 -0400 NNTP-Posting-Host: 24.201.20.12 X-Complaints-To: abuse AT videotron DOT net X-Trace: wagner.videotron.net 954722267 24.201.20.12 (Sun, 02 Apr 2000 20:37:47 EDT) NNTP-Posting-Date: Sun, 02 Apr 2000 20:37:47 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 .