Skip to content

CHIP8 interpreter emulator with simple debugger

Notifications You must be signed in to change notification settings

blr-ophon/nchip8d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8D

CHIP-8 emulator written in C using SDL2 library. Frequency of fetch-execute cycles and delay/sound timers is 500hz and 60hz respectively. No sound implemented.

Includes a simple debugger, which shows register values, memory contents, input states and recent instructions.

Screenshots

App Screenshot

Requirements

  • sdl2
  • sdl2_image
  • sdl2_ttf

Building

Clone the project

  git clone https://github.com/blr-ophon/nchip8D

Compile and install using:

  make
  sudo make install

Uninstall with:

  sudo make uninstall

Running

Provide any CHIP-8 rom. (Super CHIP-48 ones not supported)

  chip8D /path/to/ROM

Usage

CHIP-8 keyboard 0 to F keys are binded to their QWERTY literal counterpart.

Use esc to quit and tab to enter/exit debug mode

In debug mode, use left and right arrow keys to navigate between memory pages and space to execute current instruction.

About

CHIP8 interpreter emulator with simple debugger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published