/chip8_rust

A CHIP-8 emulator written in Rust.

Primary LanguageRust

chip8_rust 👾

This is a CHIP-8 emulator written in Rust as a way of learning Rust & emulation concepts.

chip8_rust playing pong

TODO

  • Make a debugger
    • Use a GUI library like egui
    • Use the debugger to fix the Pong issue (paddle position)
  • Make a disassembler
  • Move CHIP-8 unit testing to a separate module (?)
  • Implement all 36 CPU instructions
  • Add graphics
  • Add sound
  • Fix the file dialog crashing on macOS (rfd)
  • Fix the non-functional debug information

Build instructions

git clone https://github.com/Karta775/chip8_rust
cd chip8_rust
cargo build

Usage

cargo test # For unit testing
cargo run romfile.ch8 # To run normally
RUST_LOG=debug cargo run romfile.ch8 # To debug