21 Jun 95 21:14, Eric Schonning wrote to Scott Vetter:
SV>> Is there a way under OS/2 and running a PB program that polls
SV>> the keyboard to give up some of the time slices? When the
SV>> program runs a polls for the keyboard performance of the whole
SV>> OS/2 system goes down the tubes. OS/2's Pulse display shows this
SV>> to be true. I tried adjusting the idle-sensitivity and
SV>> idle-seconds but to no avail.
ES> Supposedly calling int 28h in your polling loop will give up the time
ES> slice and speed things up. no registers to set just say call
ES> interrupt &h28. I'd be interested in knowing if that works as i don't
ES> have os/2 set up anywhere and no way to test it. eric
Hello Eric!
Int 15 or 1Ch works very well, It's in one of the TIPS included with
PowerBASIC...
...Lou Sanders
--- GoldED/2 2.50.Beta5+
---------------
* Origin: The Basic OutPost System (1:143/333)
|