delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/09/12:14:06

Message-ID: <D1FB30BBA491D1118E6D006097BCAE391317DB@Probe-nt-2a.Probe.co.uk>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Bug Report on RHIDE
Date: Mon, 9 Mar 1998 17:11:59 -0000
MIME-Version: 1.0

Ove Kaaven writes:
>> At this point something weird happens: my keyboard behaves as if 
>> I had the Control key pressed all the time. I have to quit rhide 
>> and re-enter it to fix this problem.
>
> I usually had this problem too. When you hit Ctrl-F9 to start the
> program, and release the Ctrl only *after* install_keyboard() is
> called, the BIOS never gets to know that you did release it, so when
> you return it still thinks you do. It's easy to fix when it happens,
> just hit Ctrl again after the program exits, or just release the Ctrl
> faster when you run it.

That certainly used to be the case, but I thought it was fixed in
Allegro 3.0 (the keyboard handler now writes the updated shift state 
into an internal BIOS memory location during the shutdown process). 
Are you using Allegro 3.0, and are you sure this exit code is being
called correctly, ie. did you remember to call allegro_init() at
the start of your program?

	Shawn Hargreaves.

- Raw text -


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