Skip to content

A simple CHIP-8 interpreter for Linux written in C

License

Notifications You must be signed in to change notification settings

erikmansson/chip-seven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chip-seven

A simple CHIP-8 interpreter for Linux written in C. Uses OpenGL (GLFW and glad) to render the display.

Dependencies

GLFW

Follow this 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 <path-to-program>

Keys are mapped to 1-4 down to Z-V.

Get some games to run

Releases

No releases published

Packages

No packages published