tayden / chip8-rs

Chip8 Emulator Written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHIP-8 EMULATOR

A CHIP-8 emulator written in Rust to get familiar with the language features.

Based on the excellent C++ CHIP-8 emulator tutorial by Austin Morlan

PONG2 INVADERS BRIX

Usage:

    ./chip8-rs <SCALE> <DELAY> <ROM>

Example

    ./chip8-rs 20 4 /path/to/PONG2.ch8

Controls

The keyboard is used as the controller, with the following keys mapped:

1 2 3 4
Q W E R
A S D F
Z X C V

The controls can be changed by editing the platform::get_keycode static method.

ROMs

You can download free CHIP-8 ROMs here and here

Development

The codebase uses the usual cargo build tools. Run cargo build --release from the project root directory to build the executable.


Created by: Taylor Denouden (2021)

About

Chip8 Emulator Written in Rust


Languages

Language:Rust 100.0%