delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/12/18:59:45

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
To: "Salvador Eduardo Tropea \(SET\)" <salvador AT inti DOT edu DOT ar>
Cc: djgpp AT delorie DOT com
Subject: Re: RHIDE -- author(s) please read this
Date: Thu, 13 Nov 1997 00:59:08 +0100
Message-Id: <346e3cc1.49594972@unidui.uni-duisburg.de>
References: <m0xVdoi-000S20C AT inti DOT gov DOT ar>
In-Reply-To: <m0xVdoi-000S20C@inti.gov.ar>
Mime-Version: 1.0

On Wed, 12 Nov 1997 17:46:01 +0000, Salvador Eduardo Tropea (SET) wrote:

> RHIDE doesn't call to kbhit as default, it reads the BIOS DATA AREA ;-)). You 
> can force RHIDE to call kbhit, but if kbhit does the same ....

IMHO RHIDE can be forced to use the BIOS (Int 16h, AH=1) instead of
kbhit(), but unfortunately Win95 doesn't seem to release time slices
when it sees that this functions is continously called - or maybe
calling this function via __dpmi_int() is just to much overhead to make
any difference.

And yes, kbhit() reads the BIOS data area in the first place, then only
if there is a character available it calls Int 16h, AH=1 (though I don't
know why this is done).

Regards...
		Michael

- Raw text -


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