[comp.sys.apple] Random Numbers

rich@pro-exchange.cts.COM (Rich Sims) (05/07/88)

mhamaoka@athena.mit.edu writes:

>  1.  Does anyone out there know how to write an assembly language
>      random number routine.

There were two *excellent* articles, complete with Apple 6502 source
code, published in "Apple Assembly Lines" in the May and June of
1984 issues.  The author, Bob Sander-Cederlof, shows several variants
and discusses each of them.  He also references an article in the
June (1984) issue of Micro by H. Cem Kaner and John R. Vokey, as well
as Volume 2 of Donald Knuth's "The Art of Computer Programming".

In addition to his own solutions, he provides Apple 6502 versions of
the algorithms discussed in the referenced articles.

Back issues of "Apple Assembly Lines" are available for $1.80 each,
and disks with the code already entered (in S-C Assembler format)
are also available.  They'll accept a phone order with a credit
card number.  For more information, contact:

     S-C Software Corporation
     P.O. Box 280300
     Dallas, TX  75228

     (214) 324-2050

UUCP: [ ihnp4 cbosgd sdcsvax nosc ] !crash!pnet01!pro-exchange!rich
ARPA: crash!pnet01!pro-exchange!rich@nosc.mil
INET: rich@pro-exchange.cts.com
pro-exchange:  305-431-3203  :  300-1200-2400-9600/ARQ  :  login as 'register'