Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikmansson/chip-seven
A simple CHIP-8 interpreter for Linux written in C
https://github.com/erikmansson/chip-seven
c chip-8 chip8 emulator glad glfw interpreter linux opengl
Last synced: 3 months ago
JSON representation
A simple CHIP-8 interpreter for Linux written in C
- Host: GitHub
- URL: https://github.com/erikmansson/chip-seven
- Owner: erikmansson
- License: mit
- Created: 2018-01-19T19:54:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-23T23:47:17.000Z (almost 7 years ago)
- Last Synced: 2024-04-24T16:15:30.325Z (7 months ago)
- Topics: c, chip-8, chip8, emulator, glad, glfw, interpreter, linux, opengl
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- AwesomeInterpreter - chip-seven
README
chip-seven
==========A simple CHIP-8 interpreter for Linux written in C. Uses OpenGL ([GLFW](https://github.com/glfw/glfw) and [glad](https://github.com/Dav1dde/glad)) to render the display.
### Dependencies
#### GLFW
Follow [this](http://www.glfw.org/docs/latest/compile_guide.html) guide, or my tl;dr version:Make sure `libglfw3`, `xorg-dev` and `cmake` is installed, then:
```
git clone [email protected]:glfw/glfw.git
cd glfw
cmake -DBUILD_SHARED_LIBS=ON .
make
sudo make install
```#### glad
To install:
```
pip install glad
```In the root directory, run:
```
python -m glad --generator c --no-loader --local-files --out-path lib/glad
```### Build
In the root directory, run:
```
make
```That's it, chip-seven should now appear in the root directory.
### Run
```
./chip-seven
```Keys are mapped to 1-4 down to Z-V.
### Get some games to run
- http://www.pong-story.com/chip8/
- https://github.com/badlogic/chip8/tree/master/roms