Mail Archives: djgpp/1997/07/24/16:50:23
On Thu, 17 Jul 1997 20:02:26 GMT, "Anthony.Appleyard"
<MCLSSAA2 AT fs2 DOT mt DOT umist DOT ac DOT uk> wrote:
> I wrote a Gnu C++ program which uses the program below to hook interrupt 9
>so that it can detect all key presses and also key releases. With thanks to
>Eli Zaretski for help. It works OK on my desktop. But if run on a Toshiba
>Satellite laptop, the program runs OK, and duly calls clearreadkeys() before
>exiting, but sometimes the laptop has errors after the program has exited:-
> (1) Sometimes on exit from the program, there is a DOS prompt, then
>something about "Bad TTR" or something like that, and a hex dump, then another
>DOS prompt. After that, the laptop <seems> to run OK.
I've seen things like this happen when 1. the interrupt hasn't been
unhooked and uninstalled when the program exits, 2. there is some sort
of problem uninstalling the interrupt, and it triggers after the
program exits.
> (2) Yesterday I ran the program, and exited OK; but when I then typed WIN at
>the DOS prompt, Windows started as far as the initial blue screen that says
>`WINDOWS' etc in big letters, then locked tight & I had to press ctrl-alt-del.
When something has gone wrong with the interrupts, dos programs may
run ok, but windows may crash.
Does anyone know where this !@#$%! six wheeled robot came from?
- Raw text -