diff --git a/README.md b/README.md index e0a5ab4..65e0d09 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # chip8 -A chip8 emulator that I implemented in C++. It only implements the SCHIP instruction set, and can play many modern roms found online. +A chip8 emulator that I implemented in C++. It only implements the SCHIP instruction set, and can play many modern roms found online. There's a basic memory viewer and debugger available as well. -This emulator also comes with a WIP compiler that takes a C-style language as input and can spit out valid CHIP-8 code: +![example result](https://raw.githubusercontent.com/redstrate/chip8/master/misc/output.png) + +This emulator also comes with a basic compiler that takes a C-style language as input and can spit out valid CHIP-8 code: ``` var count = 3; label(main); @@ -9,5 +11,3 @@ count += 3; draw_char(0, 5, count) jump(main); ``` - -There's also a basic memory viewer and "debugger" included as well. diff --git a/misc/output.png b/misc/output.png new file mode 100644 index 0000000..05f1151 Binary files /dev/null and b/misc/output.png differ