chip8 demo

The Chip-8 is a virtual machine developed in the 1970s. It supports 35 opcodes, has a 64x32 pixel display, and makes beeping sounds. The use of two different opcodes to clear (00E0) and draw (Dxyn) to the display it means that games are inherently flickery.

This emulator in particular implements a few neat features.

  • Rewind: saves previous states in a queue and can be dequeued and restored
  • Fast forward: unlocks the framerate for faster execution
  • Decoupling: separates input, logic, and rendering so that they can be easily swapped