Skip to content

nxck2005/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8

Zig Version License Build Status

A simple CHIP-8 emulator/interpreter written in Zig, using Raylib for graphics.

CHIP-8 Emulator Demo

Features

  • All 35 instructions.
  • Supports running of CHIP-8 & ETI-660 ROMS.
  • Supports the 16-key hex keyboard.

Build

Dependencies

  • Zig 0.15.1

Instructions

  1. Clone the repository:

    git clone https://github.com/nxck2005/chip8.git
    cd chip8
  2. Build the project:

    zig build
  3. Run the emulator:

    zig build run -- <path_to_rom>

    For example:

    zig build run -- roms/Breakout.ch8

Controls

The emulator uses the following keyboard layout for CHIP-8's 16-key hexadecimal keypad:

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

CHIP-8 emulator/interpreter written in Zig and Raylib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages