2020-08-03 15:02:03 +02:00
|
|
|
# CHIP-8
|
2020-08-03 15:12:45 +02:00
|
|
|
|
|
|
|
## 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`
|
|
|
|
|
2020-08-03 18:02:48 +02:00
|
|
|
## Dependencies
|
|
|
|
`SDL2` and `SDL2_Mixer`
|
|
|
|
|
2020-08-03 15:12:45 +02:00
|
|
|
## How-to run
|
|
|
|
|
|
|
|
```
|
|
|
|
make
|
|
|
|
./bin/chip8 ROM
|
|
|
|
```
|
|
|
|
|
|
|
|
## Find ROMs
|
|
|
|
|
|
|
|
You can find ROMs [here](https://github.com/dmatlack/chip8/tree/master/roms).
|
|
|
|
|
|
|
|
## Test ROM
|
|
|
|
|
|
|
|
https://github.com/corax89/chip8-test-rom
|