Go to file
Franck STAUFFER 5aa52b2fcc
Add .gitlab-ci.yml
2020-08-04 09:40:01 +02:00
resources Add sound, format code 2020-08-03 18:01:43 +02:00
src Clean previously created data when exiting in init_SDL() 2020-08-04 09:02:24 +02:00
tests Initial commit 2020-08-03 15:02:03 +02:00
.gitlab-ci.yml Add .gitlab-ci.yml 2020-08-04 09:40:01 +02:00
LICENSE Add LICENSE 2020-08-03 15:15:02 +02:00
Makefile Add .gitlab-ci.yml 2020-08-04 09:40:01 +02:00
README.md Add dependencies 2020-08-03 18:02:48 +02:00

README.md

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