Mail Archives: djgpp/1997/11/12/18:59:45
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 -