Skip to content

darienmiller88/Chip8-Emulator

Repository files navigation

Chip8 Emulator inC++

Screenshot of emulator testing.

test opcode

pong

fishie

ex1

Game recordings

Tetris

tetris

Pong

pong

Keypad

keypad

Breakout

breakout

How to run Chip-8 roms:

./<executable-name.exe> <rom-folder-name>/<chip8rom.ch8> Ex. ./main "games/Tetris [Fran Dachille, 1991].ch8"

Built with

Requirements

This repo comes with a pre-compiled .exe ready to run, but in the case of wanting to re-compile for your respective system, follow the below instructions.

Windows

  • Clone the repository using git clone https://github.com/darienmiller88/Chip8-Emulator
  • Navigate to https://www.mingw-w64.org/ and download a 64-bit Mingw complier to compile C++ programs.
  • In your cloned repo, run the command g++ -c *.cpp -I./include to compile cpp files.
  • Afterwards, run g++ -o main *.o -L./lib -lsfml-graphics -lsfml-window -lsfml-system to link object files.
  • Alternatively, you can include both commands in your local Makefile and run mingw32-make to complete both.
  • Finally, run ./main <rom-folder-name>/<chip8rom.ch8> to run the program.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Feel free to leave suggestions as well, I'm always looking for ways to improve!

(back to top)

License

MIT

About

Chip8 interpreter written in C++ and SFML!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published