home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / 20872 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.0 KB

  1. Xref: sparky comp.sys.atari.st:20872 comp.sys.atari.st.tech:6802
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!stein.u.washington.edu!mpark
  3. From: mpark@stein.u.washington.edu (Michael Park)
  4. Newsgroups: comp.sys.atari.st,comp.sys.atari.st.tech
  5. Subject: Re: Assembler routine that generates random numbers?
  6. Date: 22 Jan 1993 17:02:57 GMT
  7. Organization: University of Washington
  8. Lines: 14
  9. Message-ID: <1jp9c1INNh7b@shelley.u.washington.edu>
  10. References: <727706004.2969@minster.york.ac.uk> <1993Jan22.155824.12105@email.tuwien.ac.at>
  11. NNTP-Posting-Host: stein.u.washington.edu
  12.  
  13. nino@vmars.tuwien.ac.at (Marinos Yannikos) writes:
  14.  
  15. >: I remember (it's a long time since I disassembled the code) that when the
  16. >: XBIOS routine is first called, the generator is seeded with a new number --
  17. >: but I forget where that number comes from.
  18.  
  19. >I'm quite sure they come from the 200HZ timer (from the system variable),
  20. >but I'm not 100% sure...
  21.  
  22. The initial seed comes from _frclock, according to the docs I have.
  23.  
  24. --m
  25.  
  26.  
  27.