Skip to content

Bikram-ghuku/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8 Emulator using c

CHIP-8 Emulator Banner

An attempt at building a CHIP-8 emulator using C and SDL2.

Running this locally

Install dependencies

  1. Arch linux:

        sudo pacman -S sdl2

    OR

    Ubuntu:

        sudo apt-get install libsdl2-dev

Building

  1. Build using gcc

        gcc emulate.c -lSDL2 -lSDL2main -o chip8

Running

  1. On linux

        ./chip8 <name-of-rom>

    OR

    WSL on windows

        export LIBGL_ALWAYS_SOFTWARE=1 && ./chip8 'name-of-rom'

About

Chip8 emulator using C & SDL2

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages