TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Paul Jones
date: 1995-01-14 05:15:58
subject: OS/2-DOS sleep call(s)

PF>   Timer on
 PF>   on timer gosub (doit)
 PF>   input foo$        ' wait for a key.
 PF>   end
 PF>  :doit
Thanks for the help, that is what I originally tried...But, turns out that
I have a basic compiler that does the input the way it should, and one that
does some wierd stuff also. The problem is that most BASIC's do not process
the timer while waiting for an Input function. Sigh. Ok, I have heard of
the Int2f, and have used it so far, but, under DOS, there is a way to
specify how many "ticks" that int gets, and under OS/2 you have a
sleep(x) type call. Any ideas on how to access these functions?
Seems a lot more efficient to say 
do
sleep(30)
 (misc funcs)
loop
Than to bother with anything else...
TTYL

--- Maximus/2 2.02
* Origin: Delta Force/2 (1:106/9030)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809
@PATH: 106/9030 2000 449 116 170/400 270/101 396/1 3615/50 229/2 12/2442
@PATH: 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.