4 ms·
Lacks randomize()
by jesuslop 8y ago
Lacks randomize()
- DanBC 8y agoI think Commodore BASIC had a more complex way of seeding the random timer: https://www.c64-wiki.com/wiki/RND https://www.c64-wiki.com/wiki/RND POKE 56328,0 : REM real-time clock activate with 1/10s -> clock runs ($DC08) PRINT RND(0) : REM Random number addicted by timer and real-time clock
- Voltage 8y agoYou could also do I=RND(-TI) Providing a neg number to RND would "reseed" the random number generator. TI was a "system" variable that updates every 60th of a second.