Skip to content

nkasica/chip8-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Interpreter

CHIP-8 is an interpreted programming language, originally created by Joseph Weisbecker for the COSMAC VIP and Telmac 1800 microcomputers in the mid-1970s. It was originally created to allow video games to be more easily developed for these systems. Many classic games such as Pong, Space Invaders, Tetris, and Brix were ported to the CHIP-8. Even today, games are still being developed to be played on interpreters through Octo!

Images and GIFs

Splash Screen
Timendus' test suite, found here, has incredible resources for testing, many of which I used when writing my own interpreter. Check it out!

image

Tetris (Ignore my cursor 😅)

tetris

Getting Started

Dependencies

Compilation

Type make in the terminal to create an executable

Alternatively, type make debug if you want to enable debugging outputs while the program runs

To remove the executable, type make clean

Usage

To run the executable, use the following command:

./main.exe <ROM/PATH.ch8>

Here are some other useful features to use while emulating:

  • Pause / Unpause emulation (space bar)
  • Exit (Esc)
  • Lower Volume (-)
  • Raise Volume (=)

Keypad

This image describes how a QWERTY keyboard is translated into the hexadecimal keypad from the original CHIP-8 systems

image

When using the emulator, your QWERTY inputs will register as the corresponding hexadecimal keypad input.

Very Helpful Resources!

About

CHIP-8 Interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors