Go to file
Franck STAUFFER 3b0b343337
Minor changes
Handle numpad the same way numerical keys were handled
Reduce audio buffer
Change some debugging output strings
2020-08-04 08:53:08 +02:00
resources Add sound, format code 2020-08-03 18:01:43 +02:00
src Minor changes 2020-08-04 08:53:08 +02:00
tests Initial commit 2020-08-03 15:02:03 +02:00
LICENSE Add LICENSE 2020-08-03 15:15:02 +02:00
Makefile Add sound, format code 2020-08-03 18:01:43 +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