A terminal based CHIP-8 emulator as per these resources:
| Resources | link |
|---|---|
| mattmikolay/chip-8 | https://github.com/mattmikolay/chip-8 |
| chip-8.com | https://chip-8.com/info |
It only works in Linux because of library dependencies :V
First, clone and compile it with cmake:
git clone https://github.com/JoaoFukuda/cursed-chip8.git
cd cursed-chip8
mkdir build && cmake -B build/ .
cmake --build build/Then, just run it with one of the two example files (or copy and make one your own).
banana.c8: Prints banana to the screenhex2dec.c8: Translates the value stored in register3.
./build/cc8 examples/banana.c8After starting the program, interact with it through the function keys.
You start the emulation on command mode. To enter program mode and run the program, press F1 then 3. To return to command mode, press F2.
To enter edit mode, press F1 then 0 on command mode, to exit press F2.
Press F2 on command mode to exit the emulator.
All inputs are made through the 0-9a-z keys.