🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5039

Re: Generating delays

#5039
From: Antony Hodgson
Date: Wed, 06 Mar 1991 13:59
11 lines
961 bytes
>  The sleep command in Turbo C (C++) has 1 second resolution.  Loop are not
>portable between machines due to different CPU speeds.  About the only real
>fix is to take control of the timer tick interrupt.
>

I haven't been following this discussion, but could the delay() command
(TC++) work for what the original poster wanted?  It generates millisecond
precision delays.

Tony Hodgson
ahodgson@hstbme.mit.edu
Technical Details
Message-ID: <1991Mar6.135940.2035@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!snorkelwacker.mit.edu!bloom-picayune.mit.edu!ahodgson
References: <1010@caslon.cs.arizona.edu> <1991Mar5.000824.20638@cs.wright.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!snorkelwacker.mit.edu!bloom-picayune.mit.edu!ahodgson
From: ahodgson@athena.mit.edu (Antony Hodgson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Generating delays
Message-ID: <1991Mar6.135940.2035@athena.mit.edu>
Date: 6 Mar 91 13:59:40 GMT
References: <1010@caslon.cs.arizona.edu> <1991Mar5.000824.20638@cs.wright.edu>
Sender: news@athena.mit.edu (News system)
Distribution: comp
Organization: Massachusetts Institute of Technology
Lines: 11