diff options
author | Daniel Jones <admin@danieljon.es> | 2020-10-17 00:30:01 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-10-17 00:30:01 +1030 |
commit | 1857ca47143624ee81acfa61e9cf4ea57bd4b042 (patch) | |
tree | d45014df481aaa4bdbd9ec3112fca16ccc74b848 /README | |
parent | c2c45b45f981e557838943c6f24329c51b1adb4b (diff) | |
download | chip8-1857ca47143624ee81acfa61e9cf4ea57bd4b042.tar.gz chip8-1857ca47143624ee81acfa61e9cf4ea57bd4b042.zip |
use getopts for argument parsing
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -CHIP-8 interpreter in C using SDL2 for graphics and sound. +CHIP-8 interpreter in C using SDL2 for graphics. # build ``` @@ -8,8 +8,8 @@ make The binary is in bin/ # running ``` -usage: bin/chip8 [scale] [speed] [romfile] -scale - pixel scaling (~5 recommended) +usage: bin/chip8 [-s video scale] [-f framerate] romfile +scale - pixel scaling (5-10 recommended) speed - how many cycles per second should be run (60-1000 or so, depends on the game) ``` A number of example ROM files are provided in the roms/ directory. |