Skip to content

execb5/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8

c workflow

My take on a chip8 emulator.


Screen.Recording.2023-01-25.at.21.14.53-7MB.mp4

Dependencies

  • SDL - For graphics.
  • cmocka - For running the unit tests.

Compiling

# With the dependencies properly installed
make

Running

  • Unit tests
make run_test
  • main
# example for pong
make run ARGS="20 1 roms/pong.ch8"

Notes

I really liked how the instructions.h ended up, since it has the proper documentation for every instruction.