o
odinpkg.dev
packages / library / chip-8-emulator

chip-8-emulator

8099886library

A Chip-8 emulator written in Odin, from scratch without copy-pasting code from other. the main goal is learning

No license ยท updated 2 years ago

CHIP-8 emulator in Odin

This is my version of the famous CHIP-8 emulator, written in Odin.

Build the project

Just run the ./build.sh script, or build/run the project directly with the Odin compiler.

Dont forget to pass as argument the rom file path.

Important note

  • You will need the Odin compiler in order to build this project. I will not release binaries.
  • This emulator pass all tests from Timendus's CHIP-8 test suite.
  • This emulator only support CHIP-8 instructions, not Super CHIP-8. I just don't want to implement them.
  • I wrote all the code by myself, but since I'm not a genius, there is some instructions (Dxyn ๐Ÿ‘€) I struggled to implement only by myself. See credits to check all the code I read during my journey.

Credits