A Chip-8 Emulator written in C++ using SDL2 and SDL_Mixer.
CONNECT4 | TETRIS | MAZE |
---|---|---|
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.
- 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