From: "Peter Remmers" Newsgroups: comp.os.msdos.djgpp Subject: Re: strange interrupt chaining problem with keyboard interrupt Date: Sun, 8 Oct 2000 09:59:39 +0200 Organization: T-Online Lines: 37 Message-ID: <8rp9h0$j9f$15$1@news.t-online.com> References: <8rhi12$4up$10$1 AT news DOT t-online DOT com> <9003-Thu05Oct2000231854+0300-eliz AT is DOT elta DOT co DOT il> <8rj5td$l0o$14$1 AT news DOT t-online DOT com> <7458-Fri06Oct2000114142+0300-eliz AT is DOT elta DOT co DOT il> <8rliej$ecd$14$1 AT news DOT t-online DOT com> <2110-Sun08Oct2000073544+0300-eliz AT is DOT elta DOT co DOT il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 970991968 15 19759 320094726121-0001 001008 07:59:28 X-Complaints-To: abuse AT t-online DOT de X-Sender: 320094726121-0001 AT t-dialin DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" schrieb... > I can only say that I cannot reproduce the problem on my machine. [...] > That was on a P166 with MS-DOS 5.0, QEMM 8 as the memory manager and > CWSDPMI r4 as the DPMI host. I use Win98SE's DOS. Do you have keyb.com loaded? I assume you don't, because if I remove it from my autoexec.bat everything works! Even in a DOS box under windows. > You didn't say what command line you used to compile; my compilation > command was this: > > gcc -Wall -g -o kbtest kbtest.c That's okay. From RHIDE or with a simple compile command, doesn't matter. > This is redundant. __djgpp_set_ctrl_c(0) (called internally by > setmode) does this already. What I meant was actually to avoid > hooking the keyboard interrupt by the startup code, not to affect what > that interrupt handler does once it is called. I commented out the following line in dpmiexcp.c, __djgpp_exception_toggle(): __dpmi_set_protected_mode_interrupt_vector(9, &kbd_ori); As far as I can see this is the only place where a keyboard handler gets set. But it didn't help..... Peter