Just type in this small program and look how it wrecks havoc with the built-in random number generator of CBM BASIC:
Code: Select all
1 A=2087*794531
2 B=32768*65536
3 X=A/B:Y=RND(-X)
4 PRINTRND(1):GOTO4
Moderator: Moderators
Code: Select all
1 A=2087*794531
2 B=32768*65536
3 X=A/B:Y=RND(-X)
4 PRINTRND(1):GOTO4
there is no such thing in the SID - it's a LFSRThe thing I envy most about the C64 isn't the sound or the sprites or the extra colors. It's the analog noise source in the SID that can act as a reliably-random random number generator.
Learn something new every day!