o
odin.langpkg.dev
packages / library / Chip-8

Chip-8

136b42flibrary

No description provided.

No license · updated 4 weeks ago

CHIP-8 Emulator

A CHIP-8 emulator written in Odin.

Features

  • CHIP-8 CPU implementation
  • 4 KB memory
  • ROM loading
  • Fetch-decode-execute cycle
  • Opcode decoding using bitmasking
  • 64×32 monochrome display
  • Sprite rendering
  • Keyboard input
  • Delay and sound timers
  • CHIP-8 font support

Building

Requirements:

  • Odin
  • Raylib
odin build .

Running

./chip8 [path to rom ]

Future Work

  • Improve ROM compatibility
  • Clean up the input system
  • Refactor the codebase
  • Replace Raylib
  • Port DOOM to it ????