Skip to content

ercl/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip-8 Emulator


A Chip-8 Emulator written in C++ using SDL2 and SDL_Mixer.

Screenshots

CONNECT4 TETRIS MAZE

Usage

SDL2 and SDL_Mixer must be installed. For Mac users, they can be installed with Homebrew:

    brew install sdl2 sdl_mixer

Afterwards, compile and run.

    cd src
    make
    ./main.out <ROM>

If <ROM> is not given, PONG2 will be loaded instead by default.

Notes

  • TICTAC and CONNECT4 only work properly when INSTRUCTIONS_PER_STEP = 1 in main.cpp
  • Changing INSTRUCTIONS_PER_STEP will make some games run better
  • The original Chip8 numpad is not used. The keypad is defined as:
  Current    instead of    Original
  1 2 3 4                  1 2 3 C
  Q W E R                  4 5 6 D
  A S D F                  7 8 9 E
  Z X C V                  A 0 B F

Resources Used

About

Chip-8 emulator in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published