Skip to content

Project made while working on Intel8080, to understand more things.

License

Notifications You must be signed in to change notification settings

BudzioT/Chip8-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8-Emulator

💻 Info

A Chip-8 emulator made in C++. It always you to access and play ROMS made for this system. This emulator was written in C++, with CMake, using following libraries:

  • SDL2 v-2.28.5

To get ROMS I recommend: https://github.com/kripod/chip8-roms

🔨 How to build the project

  • Download SDL2 and CMake. (Example based off Ubuntu)
sudo apt install cmake
sudo apt-get install libsdl2-dev.dnf
  • Make a directory for build
  • Run cmake and direct it to the directory with CMakeLists.txt
  • Run make
mkdir cmake-build
cd cmake-build
cmake ..
make
  • Run the program with ROM path as the first argument.
./Chip8_Emulator path/to/ROM
  • If you want more options, write --help as the first argument.
./Chip8_Emulator --help

📷Screenshots

  • Space Invaders:
    image
  • Tetris:
    image
  • OpCodes test:
    image

🎮 Controls

Chip-8 has hex keypad (0-F), it was converted to:

Chip-8 Keyboard
1 1
2 2
3 3
4 Q
5 W
6 E
7 A
8 S
9 D
0 X
A Z
B C
C 4
D R
E F
F V

📄 Links to libraries

SDL website: https://www.libsdl.org/
SDL: https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5

About

Project made while working on Intel8080, to understand more things.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published