Yet another yet another Chip-8 emulator - An interpreter for Chip-8 bytecode writen in SystemVerilog.
Find a file
2024-04-06 21:36:24 -05: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
the-bomb@69d8de45d3 use 1 bit map for screen 2024-04-06 16:38:23 -05:00
.gitignore graphics working 2024-01-30 19:54:35 -06:00
.gitmodules use 1 bit map for screen 2024-04-06 16:38:23 -05:00
beeper.sv run formatter 2024-01-31 21:04:52 -06:00
chip8.sv chip8 draws in st7920 format now 2024-04-06 21:36:24 -05:00
cpu.sv chip8 draws in st7920 format now 2024-04-06 21:36:24 -05:00
gpu.sv chip8 draws in st7920 format now 2024-04-06 21:36:24 -05:00
keyboard.sv use 1 bit map for screen 2024-04-06 16:38:23 -05:00
makefile use 1 bit map for screen 2024-04-06 16:38:23 -05:00
README.md update README.md 2024-01-31 21:06:06 -06:00
rng.sv run formatter 2024-01-31 21:04:52 -06:00
rom_loader.sv use 1 bit map for screen 2024-04-06 16:38:23 -05:00
yayacemu.cpp chip8 draws in st7920 format now 2024-04-06 21:36:24 -05: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.

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
  • Deploying to an FPGA with a real screen, keypad, and beeper

Screenshots

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