Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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