Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aymanbagabas/c8emu
A Chip-8 emulator using C++ and SDL2.
https://github.com/aymanbagabas/c8emu
chip8 emulator sdl
Last synced: 9 days ago
JSON representation
A Chip-8 emulator using C++ and SDL2.
- Host: GitHub
- URL: https://github.com/aymanbagabas/c8emu
- Owner: aymanbagabas
- License: mit
- Created: 2018-09-07T22:48:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-08T00:49:02.000Z (about 6 years ago)
- Last Synced: 2024-10-16T19:48:30.085Z (20 days ago)
- Topics: chip8, emulator, sdl
- Language: C++
- Homepage:
- Size: 525 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C8emu
C8emu is just another Chip-8 based emulator that uses C++ and SDL2.
![Space Invaders](shot1.png)
![Pong](shot2.png)
## Building and Running
This project requires *cmake* to build.
To build:
```
$ git clone https://github.com/aymanbagabas/C8emu.git && cd C8emu
$ mkdir build && cd build
$ cmake ..
$ make
```To run:
```
./C8emu [ROM FILE]
```Add `-v` to debug.
You can find some ROMs under the `roms` directory.
## References
* [How to write an emulator](http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/)
* [Cowgod's Chip-8 Technical Reference v1.0](http://devernay.free.fr/hacks/chip8/C8TECH10.HTM)
* [CHIP-8](https://en.wikipedia.org/wiki/CHIP-8)
* [Lazy Foo' SDL2 Tutorial](http://lazyfoo.net/tutorials/SDL/index.php)