• Sign Up
  • Archive

C64 RNG FUN

Source: https://unsplash.com/

Probably pretty much everyone who has ever developed their own hardware beyond a certain status, has sooner or later become aware of the following challenge: Randomness - or a Random Number Generator, RNG for short.

Since computers have an inherently deterministic disposition, they cannot do anything, that is not deterministic. And randomness - at least real randomness - is not deterministic.

So how do you build a generator for random numbers on a deterministic machine?

Basically, you have two options. The first is a PRNG, or Pseudo Random Number Generator. This is an algorithm, that spits out random looking results, but is deterministic in the end. If you know the seed and the state of the system, you can predict the resulting number sequences.

If you want true random numbers, you need analog help. So some form of device that generates true random values based on the unfathomable mysteries of quantum chromodynamics. And now guess what:

Your C64 has such a device. Crazy, isn't it?

Michael Doornbos has taken up the subject, and I don't want to break the suspense here. In his article he goes into the use of the C64 RNG, and links to the actual background captured by 8-Bit Show And Tell to be found here on YouTube.

Curious. Hop over.

Share the signal:

Read the full newsletter Issue #23 of 8bitnews.io: NULL 2 Retro Handheld

More from #23

Don't want to miss updates like that? Subscribe below and receive regular content that we only share with our subscribers.

Don't Miss

Sign up for our retro & computing magazine and get content like that regularly. Relevant. Up to date. Free.

We send our subscribers one update twice a month. Retrocomputing topics well curated by a team who love machines of the 70s, 80s and 90s as much as you do.

  • Terms
  • Privacy
  • Imprint