A Chip8 Emulator written in C++ for fun!
-
CMake
version 3.23 or higher to build the app -
Conan
package manager 2.0 or higher to fetch and include the dependancies
- Clone the repository in a directory on your machine
Using CMake
-
Run
conan install . --profile={your preferred conan profile}
-
Run
CMake
build system generation by either using editor features or by runningcmake -B"./build"
-
Build the executable using the editor features or by running
cmake --build "./build"
Using Conan
- Run
conan build . -pr={your preferred conan profile}
Simply Run Chip8Emulator.exe
and have fun!
The key bindings are the following:
Key | Emulator Pad |
---|---|
1 | 1 |
2 | 2 |
3 | 3 |
4 | C |
Q | 4 |
W | 5 |
E | 6 |
R | D |
A | 7 |
S | 8 |
D | 9 |
F | E |
Z | A |
X | 0 |
C | B |
V | F |
Note
There is currently no loading solution for your own ROMs as this project is intended for demonstration only, but it will be implemented soon enough; in the meantime You can bring your TicTacToe skills to the next level ๐
The tests are built together with the main executable unless differently specified. Full test coverage is not yet present, but all the current tests are passing so it is stable enough to fiddle with.
-
The app uses
SDL2
library to render the game, which is fetched automatically byConan
-
The tests are implemented using
CLove-Unit
header-only library, which is already included into the repository byConan