Mail Archives: djgpp/1999/02/10/09:12:59
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
> On Tue, 9 Feb 1999, Salvador Eduardo Tropea (SET) wrote:
>
> > Yes: avoid it. When RHIDE shows the user screen the IDE stops most of the
> > TVision code and waits for a key so the idle mechanism is disabled (99% sure
> > of it) and you see it.
>
> There are ways to wait for a key in a loop that calls __dpmi_yield as
> long as the keyboard buffer is empty.
That's already implemented. But when the user press Alt+F5 the events system
is stopped and a keyboard poll is forced, so Robert needs to add a call to
idle() (a class member that makes the idle stuff, in DOS it calls
__dpmi_yield if nothing must be done) inside the loop.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -