www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/04/08:30:49

Message-Id: <199603041319.IAA01083@delorie.com>
Date: Mon, 04 Mar 96 14:04:07 LIT
From: Martynas Kunigelis <martynas DOT kunigelis AT VM DOT KTU DOT LT>
Subject: mkkbd1.zip.. bugs? :(
To: DJGPP mailing list <djgpp AT delorie DOT com>

 After my announcement of `mkkbd1.zip', my keyboard interrupt handler, I have
received a bug (actually, a crash) report. I have no idea why it happens. I
feel extremely ashamed and dumb. I have tested it multiple times under CWSDPMI
OS/2 and Windows and it worked. I am now asking someone from DJGPP team to
remove the buggy(?) zip from SimTel, or maybe C. Sandmann (who is I think a
DPMI expert after all) could have a look at the code (please??!!). I apologize
possibly] incorrect information.

 Now I have a question: Eli Zaretskii stated, that once I hook the keyboard
interrupt and do not chain, keyboard is mine forever, even if the key is
pressed while CPU is in real mode. However, while testing my above mentioned
handler, I made a loop of fread()s, which implied, I think, switching to real
mode, and *even with no chaining I was able to break the loop with crtl-c*!
Why on earth? (whoops, I meant PM interrupt at the beginning of this paragrph.)

P.S. I think crashes in example.c from mkkbd1.zip could be caused by as's bug-
 well, there is *some* possibility ]

ashamed] Martynas Kunigelis

- Raw text -


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