From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Ada Tasks and Keyboard I/O
Date: 1997/06/14
Date: 1997-06-14T00:00:00+00:00 [thread overview]
Message-ID: <dewar.866308778@merv> (raw)
In-Reply-To: 1997Jun14.081514.1@eisner
Larry said
<<Your program must be doing what the operating system views as
asynchronous I/O, so if you insist on DOS it may be that you
must use an add-on OS extender that makes it behave less like
DOS. Some Ada compilers come with such extenders.
>>
It requires nothing this heavy to implement this "properly" on DOS for
the special case of keyboard IO, which is the case you really want handled.
For examle, on the Alsys compilers for DOS, keyboard I/O was always handled
by a polling technique something like
loop
delay epsilon;
if keyboard data present
read it
exit
end if;
end loop;
and you can manually program this if you want, by callng the appropriate
Int 21 routines.
next prev parent reply other threads:[~1997-06-14 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-13 0:00 Ada Tasks and Keyboard I/O David H. Haley
1997-06-14 0:00 ` Robert Dewar
1997-06-14 0:00 ` Larry Kilgallen
1997-06-14 0:00 ` Robert Dewar [this message]
1997-06-14 0:00 ` John Herro
1997-06-14 0:00 ` Dale Stanbrough
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox