home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!jpunix!hounix!pelliott
- From: pelliott@hounix.org (Paul Elliott)
- Subject: driver timer resolution
- Message-ID: <1993Jan08.195114.23866@hounix.org>
- Organization: Houston UNIX Users Group (HOUNIX), Houston, TX
- Date: Fri, 08 Jan 1993 19:51:14 GMT
- Lines: 22
-
- I am trying to write an OS/2 driver for the CALNET RANDOM NUMBER GENERATOR
- RNG-810.
-
- This is a realy simple device. Everytime you do a in byte on port 300
- you get a random byte from the random number generator which the device
- creates using Johnson noise. However, if you read the port faster than 25000
- bytes per second or 40 usec between reads, the succesive bytes may not be
- randomly independant.
-
- Is there any way in OS/2 to wait such a small period of time in an IO
- driver without hogging the CPU?
-
- I believe that you can define a timer interrupt handler, but
- that interrupt occurs only 18.2 times per second. This would
- slow down my driver too much. Is there any way to get increased
- timer resolution?
-
- By the way, does any one out there know what calnet's snail address is?
- I wrote them reciently at their old address but my letter came back
- to me.
-
- Paul.Elliott@hrnowl.lonestar.org
-