[39716] in Cypherpunks
Re: "random" number seeds vs. Netscape
daemon@ATHENA.MIT.EDU (James A. Donald)
Thu Sep 21 01:33:47 1995
Date: Wed, 20 Sep 1995 21:30:32 +0800
To: perry@piermont.com, karlton@netscape.com (Phil Karlton)
From: "James A. Donald" <jamesd@echeque.com>
Cc: cypherpunks@toad.com
At 05:01 PM 9/20/95 -0400, Perry E. Metzger wrote:
>PC timers inherently run at Mhz speed -- they interrupt every 100th of
>a second but you can get finer resolution by querying the clock
>chip. Does Windows let you do this?
Yes: 1.196 MHz precision.
The VTD maintains a 64-bit value that is accurate to 0.8 microseconds. This
value is obtained by calling the VTD with AX set to 0100h. The 64-bit value
is returned in EDX:EAX. The returned value indicates the time Windows has
been running based on a 1.196 MHz clock.
---------------------------------------------------------------------
|
We have the right to defend ourselves | http://www.jim.com/jamesd/
and our property, because of the kind |
of animals that we are. True law | James A. Donald
derives from this right, not from the |
arbitrary power of the state. | jamesd@echeque.com