delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/08/04:15:32

From: "Peter Remmers" <Peter DOT Remmers AT t-online DOT de>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1001005075606 DOT 3958E-100000 AT is> <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
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" <eliz AT is DOT elta DOT co DOT il> 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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019