Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 885 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 885 Bytes

Chip-8 Emulator

A simple Chip-8 emulator made using SDL2. Screenshot 2023-09-18 at 3 34 43 PM

Requirements

Requires SDL2. If you are using homebrew you can install it with the following:

$ brew install sdl2

Nix users can kindly ignore this.

Building

Non-nix users:

$ clang -o chip8 src/chip8.c `sdl2-config --cflags --libs`

Nix users:

$ nix build

This will generate a result symlink pointing to the nix-store with the binary.

Note: Requires experimental feature Flakes.

Usage

$ ./chip8 path/to/rom

Resources