[stella] Random number generation on 2600?

Subject: [stella] Random number generation on 2600?
From: emooney@xxxxxxxxxxxxxxxx (Erik Mooney)
Date: Mon, 24 Mar 1997 02:17:04 GMT
Any hints on how to go about creating a pseudo-random number generator on
the 2600?  True random numbers seem pretty difficult if not impossible (as
with most assembly languages), but one can get a seed and plug it into an
algorithm to get pseudo-random numbers.  On the PC, it's easy to use the
current time for the seed (all BASIC programmers know RANDOMIZE TIMER), but
that's not there on the 2600.. anyone have a good method for getting a seed
and/or a good algorithm that works well on the 6502?  thanks!

--
Archives available at http://www.biglist.com/lists/stella/archives/
E-mail UNSUBSCRIBE in the body to stella-request@xxxxxxxxxxx to be removed.

Current Thread