This project is a Chip 8 emulator written in C. It faithfully emulates the Chip 8 architecture and allows you to play classic Chip 8 games.
- A C compiler (e.g., GCC)
- CMake
- SDL2 library for handling graphics and input
-
Clone the repository:
git clone https://github.com/anthonygedeon/chip8.git cd chip8
-
Create a build directory and run CMake:
mkdir build cd build cmake ..
-
Compile the emulator:
make
-
Place your Chip 8 ROMs in the
roms
directory. -
Run the emulator with a ROM:
./chip8 roms/your-rom-file.ch8
-
Or run the test roms in the
test-roms
directory./chip8 test-roms/chip8-test-suite.ch8
- Use the arrow keys to navigate the menu.
- The keys 1-9 and A-F on your keyboard correspond to the Chip 8 keypad.
- Thanks to all the Chip 8 community resources and documentation.
- Inspired by various Chip 8 emulator projects available online.
Feel free to submit pull requests or open issues if you find bugs or have suggestions for improvements.
Give a ⭐ if this project was helpful in any way!
This project is licensed under the MIT License. See the LICENSE file for details.