Go to file
2020-08-17 12:00:05 +02:00
resources Add sound, format code 2020-08-03 18:01:43 +02:00
src Change test order, check stat output 2020-08-04 13:36:24 +02:00
tests Initial commit 2020-08-03 15:02:03 +02:00
.gitlab-ci.yml Try to fix missing header 2020-08-17 12:00:05 +02:00
LICENSE Add LICENSE 2020-08-03 15:15:02 +02:00
Makefile Remove useless artifacts, revert CFLAGS optimization to native, check if it compiles on musl 2020-08-17 11:48:30 +02:00
README.md Add dependencies 2020-08-03 18:02:48 +02:00

CHIP-8

Compile-time options

You can tweak some variables:

  • SCALE: Increase the size of pixels
  • WAIT: Time waited between two opcodes in microseconds

You can set them in the CPPFLAGS of the Makefile with -DWAIT=100 -DSCALE=20

Dependencies

SDL2 and SDL2_Mixer

How-to run

make
./bin/chip8 ROM

Find ROMs

You can find ROMs here.

Test ROM

https://github.com/corax89/chip8-test-rom