Skip to content

fnknda/cursed-chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cursed CHIP-8

A terminal based CHIP-8 emulator as per these resources:

Resources link
mattmikolay/chip-8 https://github.com/mattmikolay/chip-8
chip-8.com https://chip-8.com/info

It only works in Linux because of library dependencies :V

How to run

First, clone and compile it with cmake:

git clone https://github.com/JoaoFukuda/cursed-chip8.git
cd cursed-chip8
mkdir build && cmake -B build/ .
cmake --build build/

Then, just run it with one of the two example files (or copy and make one your own).

  • banana.c8 : Prints banana to the screen
  • hex2dec.c8 : Translates the value stored in register 3.
./build/cc8 examples/banana.c8

Inputs

After starting the program, interact with it through the function keys.

You start the emulation on command mode. To enter program mode and run the program, press F1 then 3. To return to command mode, press F2.

To enter edit mode, press F1 then 0 on command mode, to exit press F2.

Press F2 on command mode to exit the emulator.

All inputs are made through the 0-9a-z keys.

About

Terminal-based CHIP8 emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published