🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Generating delays

#5020
From: Shane Dawalt
Date: Tue, 05 Mar 1991 00:08
15 lines
1296 bytes
From article <1010@caslon.cs.arizona.edu>, by tlglenn@cs.arizona.edu (Ted L. Glenn):
> 
>      One quick fix for generating delays is to fool around with loops. Doesn't
> look good, but works. I can't remember, is there a sleep command in C?
> 
  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.

  Shane();

--------------------------------------------------------------------------
From the keyboard of:			     email: sdawalt@cs.wright.edu
	Shane A. Dawalt
--------------------------------------------------------------------------
Technical Details
Message-ID: <1991Mar5.000824.20638@cs.wright.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!uoft02.utoledo.edu!desire.wright.edu!wright!news
References: <1010@caslon.cs.arizona.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!uoft02.utoledo.edu!desire.wright.edu!wright!news
From: sdawalt@valhalla.wright.edu (Shane Dawalt)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Generating delays
Message-ID: <1991Mar5.000824.20638@cs.wright.edu>
Date: 5 Mar 91 00:08:24 GMT
References: <1010@caslon.cs.arizona.edu>
Sender: news@cs.wright.edu (USENET News System)
Reply-To: sdawalt@valhalla.wright.edu
Distribution: comp
Organization: Wright State University
Lines: 15