A simple CHIP-8 emulator written in C++.
This project is an implementation of a CHIP-8 virtual machine. CHIP-8 is an interpreted programming language, developed by Joseph Weisbecker. It was initially used on the COSMAC VIP and Telmac 1800 8-bit microcomputers in the mid-1970s. CHIP-8 programs are run on a CHIP-8 virtual machine. It was made to allow video games to be more easily programmed for these computers.
This project uses Meson as its build system.
- A C++ compiler (supporting C++20)
- Meson
- Ninja
- Navigate to the project directory:
cd path/to/chip8 - Create a build directory (if it doesn't exist) and configure Meson:
(Note: Your existing build directory is named
meson setup build
build. If you prefer a different name likebuilddir, you can use that instead, but be consistent.) - Compile the project:
Alternatively, you can navigate into the build directory and run
meson compile -C build
ninja:cd build ninja
After a successful build, the executable chip8 will be located in the build directory.
./build/chip8