Skip to content

git-guuud/chip-8-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Interpreter

A simple CHIP-8 interpreter written in Rust. The "Hello, World!" of emulator developement.

What is CHIP-8?

CHIP-8 is an interpreted programming language/virtual machine that was created in the 1970s for use on early microcomputers. It is a simple, stack-based language that is designed to be easy to learn and use.

How to use?

chip-8.exe /path/to/rom

Where can i get the ROMs?

Download some .ch8 files from here.

Note:

Options:
  -m, --move-val-8xy6e
  -b, --bxnn
  -i, --increment-i-on-load
  -h, --help

Some flags are there to accomodate some of the different implementations of CHIP-8.

--move-val-8xy6e: OFF by default include flag to turn ON
Sets whether the value in register Vx is moved to the I register when executing the instructions 8XY6 and 8XYE.

--bxnn: OFF by default include flag to turn ON
If ON pc is set to XNN + VX, if OFF pc is set to XNN + V0.

--increment-i-on-load: ON by default include flag to turn OFF
Whether the I register gets incremented on loading registers from memory on instructions FX55 and FX65.

About

the "Hello, World!" of emulator dev ;P

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages