Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tetsuo-cpp/chip8
A unit tested C++ implementation of the CHIP-8 virtual machine.
https://github.com/tetsuo-cpp/chip8
Last synced: 16 days ago
JSON representation
A unit tested C++ implementation of the CHIP-8 virtual machine.
- Host: GitHub
- URL: https://github.com/tetsuo-cpp/chip8
- Owner: tetsuo-cpp
- Created: 2017-09-24T08:37:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T13:54:49.000Z (over 6 years ago)
- Last Synced: 2024-12-19T06:41:50.493Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CHIP-8 Emulator
This emulator is a unit tested C++ implementation of the CHIP-8 virtual machine.It can play game ROMs designed for the CHIP-8 system!
## Screenshots
### Invaders
![Invaders](invaders.png)
### Tetris
![Tetris](tetris.png)
## Dependencies
* CMake
* SDL2
* Google Test
* Google Mock
## Usage
The emulator requires SDL2 which can be installed via your package manager.The unit tests require Google Test and Google Mock. Both of these frameworks recommend that you do not install and link against them as pre-compiled libraries. Therefore, these frameworks have been added as Git submodules and are compiled as part of the CMake build.
```
git submodule init
git submodule update
cmake .
cmake --build .
```
### Emulator
```
./chip8 [filename]
```
### Unit Tests
```
./chip8_test
```