6502.org
http://forum.6502.org/

[130] 6502 digital roulette wheel
http://forum.6502.org/viewtopic.php?f=7&t=385
Page 1 of 1

Author:  psmith129 [ Mon Oct 22, 2001 8:05 am ]
Post subject:  [130.1] 6502 digital roulette wheel

We have just been ask to design a digital roulette wheel using a 6502 processor and were wondering whether anyone could give us a few pointers?

Author:  GARTHWILSON [ Tue Oct 23, 2001 2:59 am ]
Post subject:  [130.2] 6502 digital roulette wheel

What kind of help? I don't know anything about roulette wheels, but I expect you'll need a random-number generator, right? If you have a real-time clock or continually running counter of some sort, add its value to the random number generator seed. You won't know the value of the counter at any given instant that you request a roll. If the counter is fast enough and you only use a few LSB's, you can just use that, and no further random-number generator will be needed.

Can you be more specific about what other kinds of suggestions you're looking for?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/