Subject: Re: delay?
To: Grant Stockly <gussie@stockly.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-mac68k
Date: 08/05/1999 10:12:50
On Thu, 5 Aug 1999 00:24:57 -0800 
 Grant Stockly <gussie@stockly.com> wrote:

 > I've alaways wondered what the delay value was for on the mac port of
 > Open/NetBSD.  Its not in the i386 dist.
 > 
 > Does it compare in some way to BOGO MIPS?

Sort of.  Basically, the i386 port uses the clock chip to implement delay(),
but the Mac can't really do that easily.  So using a timer chip, we compute
a magic value (which is decremented in a carefully coded loop) which will
cause the loop to take the specified number of microseconds.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>