Linked by Thom Holwerda on Sun 16th Dec 2012 20:13 UTC
Games "Unfortunately, many of the logic chips that make up Pong are no longer readily available. There are newer parts that will perform the same function but they have different pin connections. I started by re-drawing and adapting some the circuits to the available parts." Recreating Pong from scratch. In its original hardware form. Crazy cool.
Permalink for comment 545833
To read all comments associated with this story, please click here.
RE: Emulated version
by transputer_guy on Wed 19th Dec 2012 06:36 UTC in reply to "Emulated version"
transputer_guy
Member since:
2005-07-08

There is really no need to run a detailed event driven gate level or device level PSpice like simulator for this at all.

The amount of logic in this game is so small that a very simple cycle accurate simulator would need very few resources.

Essentially every gate or flop is declared as an expression or master slave register and these are arranged into a C like for loop that looks a lot like a Verilog always @CK block with all the expressions in their time order feeding a master input that cycles back to the slave register variable and back to the top of the loop. If there are RS latches or other analogish circuits those have to be modified into normal clock logic. Did this loads of times for chips thousands of times more complex than Pong.

You could probably even run it on an Arduino board or any MicroChip or Arm chip only running at a few MHz, maybe even a PicoBlaze state machine.

In fact the ARM chip itself was built in exactly this way in BBC Basic on a Beeb, converted to HDL by VLSI Inc and it pretty much worked on first silicon. The Beeb emulator might well have been able to run some early ARM firmware at a few instructions per sec.

Reply Parent Score: 2