Skip to content

Milansuman/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Emulator

A simple CHIP-8 emulator written in C++.

Description

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.

Screenshot

CHIP-8 Emulator Screenshot

Building and Running

This project uses Meson as its build system.

Prerequisites

  • A C++ compiler (supporting C++20)
  • Meson
  • Ninja

Building

  1. Navigate to the project directory:
    cd path/to/chip8
  2. Create a build directory (if it doesn't exist) and configure Meson:
    meson setup build
    (Note: Your existing build directory is named build. If you prefer a different name like builddir, you can use that instead, but be consistent.)
  3. Compile the project:
    meson compile -C build
    Alternatively, you can navigate into the build directory and run ninja:
    cd build
    ninja

Running

After a successful build, the executable chip8 will be located in the build directory.

./build/chip8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published