[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.



Jon Bettencourt wrote:

>David Empson:
>
>> 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.

You must be pretty new to csa2.  In csa2, folks get to know
that David Empson is a genius and an oracle with respect
to the Apple II.  He is a vast storehouse of knowledge and
can whip up a program to do or fix things out of thin air in
no time.  He's also polite and helpful, which is refreshing
as some folks who used to have lots of knowledge and
used csa2 had mean streaks.

David Empson is a model csa2 citizen.  I always enjoy
reading his posts.  ;-)