Take a look at the Mersenne Twister, or the Mitchell Moore algorithm. Both of
them are fast, good and don't require too much memory.
Guido
----- Original Message -----
From: Graeme Cowie
To: gbadev@yahoogroups.com
Sent: Tuesday, December 09, 2003 12:02 PM
Subject: [gbadev] Random number function
Hi gbadev forum,
Rather than re-invent the wheel trying to write an ARM random number
gernerator function, i thought i'd ask if anyone has done this before or if
there is an easy fast way to achieve random numbers.
I'm thinking of doing a GBA conversion of the classic Atari 8bit version of
River Raid, which generates terrain and enemies randomly.
Cheers,
McGeezer
Yahoo! Groups Sponsor
ADVERTISEMENT
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.