Add information in README.md

This commit is contained in:
Franck STAUFFER 2020-08-03 15:12:45 +02:00
parent b7edca10c2
commit 19c1a01cb5
Signed by: franck.stauffer
GPG Key ID: AAF5A94045CEC261
1 changed files with 23 additions and 0 deletions

View File

@ -1 +1,24 @@
# 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`
## 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