Yet another yet another Chip-8 emulator - An interpreter for Chip-8 bytecode writen in SystemVerilog.
Find a file
2024-01-31 20:57:11 -06:00
screenshots everything but cleanup 2024-01-31 13:53:10 -06:00
tests everything but cleanup 2024-01-31 13:53:10 -06:00
.gitignore graphics working 2024-01-30 19:54:35 -06:00
beeper.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
chip8.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
cpu.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
gpu.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
keyboard.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
makefile code cleanup and font fix 2024-01-31 20:57:11 -06:00
README.md update README.md 2024-01-31 13:56:47 -06:00
rng.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
rom_loader.sv code cleanup and font fix 2024-01-31 20:57:11 -06:00
yayacemu.cpp code cleanup and font fix 2024-01-31 20:57:11 -06:00

Yet another yet another Chip-8 emulator (yayacemu)

Because one just wasn't enough.

A Chip-8 emulator (interpreter) written in SystemVerilog with I/O simulated with C++ also depends on SDL2.

Note: Code quality is bad at the moment because I just wanted to get graphics working and didn't pay much attention to it. I will fix tomorrow.

Building & Testing

In order to run yayacemu, you must have sdl2, verilator, and make installed.

Once you have the dependencies installed, you can build the emulator with:

make build

You can build start the emulator with:

make run ROM_FILE=[PATH_TO_YOUR_ROM]

Running

If you have a binary, you can run it with the following:

yayacemu [PATH_TO_YOUR_ROM]

Todo

  • Graphics
  • Corax+ Required Instructions
  • Proper Flag Handling
  • Working Input
  • More Instructions
  • Tetris Working Running
  • Pass Quirks Test
  • Add beeper (instead of sound, screen becomes red)
  • Add all Instructions
  • Implement a real (synthesizeable, pseudorandom) random module
  • Code cleanup

Screenshots

Chip 8 Logo Demo IBM Logo Demo CORAX+ Test Demo Flag Test Demo Quirk Test Demo Tetris Demo Beeper Demo