Skip to content
zornyyPublic

About

Building my own Chip-8 emulator from scratch in C using SDL/2 graphics library.

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My own Chip-8 Emulator 🖥

The Project 💡

  • 🏫 - This Chip-8 Emulator is a school project for my third year of study in computer science in the EPTM which is a computer science school in Switzerland.
  • 💻 - The project is developed using the C programming language using SDL/2 as a graphics library.
  • 🗿 - Using neovim & a makefile as editor and build tool

Particulars of sale

Chip-8 Emulation 🦾

Hitting V1.0 the Chip-8 Emulator must be able to run a classical .ch8 program correctly

Logs Display 📈

Hitting V1.0 the Chip-8 Emulator must be able to display logs, registers, memory states and content.
The objective is to show the user the processes happening inside of a computer.

Showcase of the project

Game of Breakout with the emulator

Breakout

Game of Missile with the emulator

Missile

Game of Pong with the emulator

Pong

Game of Connect 4 with the emulator

Connect 4

Game of Tic Tac Toe with the emulator

Tic Tac Toe

Build 🏗️

# Build for debian based Linux
# Only the package manager changes for other distros

# just in case
sudo apt install git
sudo apt install gcc
sudo apt install make

# download dependencies & project
sudo apt install libsdl2-dev
sudo apt install libsdl2-ttf-dev
git clone https://github.com/xZORNYx/chip8.git
cd chip8

# compile & run
make
./chip8 programs/Games/breakout.ch8
# Edit the path to boot on a different program


# Arch based distros 🗿
sudo pacman -S git gcc make sdl2 sdl2_ttf

make
./chip8 programs/Games/breakout.ch8 10 

Help and Sources 🪐

  • The wikipedia Chip-8 page
  • Cowgod's Chip-8 technical reference

About

Building my own Chip-8 emulator from scratch in C using SDL/2 graphics library.

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages