[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: And now, from the author of the DOS Disk post, a post that actually relates to this newsgroup.



> OK, I've found the article.  It was published in The Sourceror's
> Apprentice, Volume 1 Number 4 (April 1989).  The article was called
> "Random Bytes", and was written by Robert C Moore of the Applied Physics
> Laboratory at the John Hopkins University in Laurel, Maryland.
> 
> The article covers two designs for shift and exclusive OR random number
> generators.  I'll use the simpler one here, which has a shorter period
> of 2^25-1 (33554431).

 [snip]

> Note that if you want to do this again (getting a different pattern),
> you should avoid calling INITRAND more than once.
> 
> You can use CALL 800 to call the INITRAND routine directly, then use
> CALL 771 for each random fill.
> 
> If you only need to use it once, just CALL 768.

Thank you for all your work. That must have taken a while to convert it.

-- 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
jonrelay@napanet.net                             jrelay.cjb.net
An Apple II fanatic since 1998!              S0.5 LIS+++! M1987
"I can't stand to see you so miserable, Lis. Unless it's from
a rubber spider down your dress. Hmm... that gives me an idea. 
(Pulls out tape recorder) Note for later: put rubber spider down
Lisa's dress. He he he he he."

 *_     Syntax Error: an error on a criminal's tax record.
   |    Bad Subscript: a criminal reading a book on a subway.
  ---   Unimplemented Trap: when a bear trap isn't set up 
 |' ,|  properly and thus does not work.
  ---   Overflow: too many ice cubes.      <Can't Restart>

Please remove capital letters from my e-mail address to respond.