Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

kodejuice/chip8-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8 Emulator

Chip-8 is a programming language for 8-bit computers developed in the 1970s. It is an interpreted language that was intended for game development. It originally ran on the COSMAC VIP and Telmac 1800 computers.

Tank Tank

Brix Brix

Pong Pong

Compiling

Installing requirements

It requires the SDL library for rendering.

Debian-based

$ sudo apt-get install libsdl2-dev

Arch-based

$ pacman -S sdl2

Compile

$ make

Run a program

$ ./chip8 <program>

The repo comes with a set of programs in the roms/ directory.

It also contains a disassembler you can use to decode a chip8 program into assembly instructions.

$ ./chip8 --decode <program>