Skip to content

Rust implementation of Chip-8 emulator/interpreter

License

Notifications You must be signed in to change notification settings

tangtang95/chip-8-emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chip-8-emu

CI

Rust implementation of Chip-8 emulator/interpreter using SDL2 (OpenGL)

Usage

Run the emulator with a rom by passing its <rom-path> as argument:

chip-8-emu.exe <rom-path>

For the help info run the following command:

chip-8-emu.exe --help

Build locally

To build the project locally, it is required to have rust toolchain (i.e. rustc compiler and cargo). Then it is required to install vcpkg through cargo-vcpkg tool in order to build sdl2.

Requirements

  • rustc compiler
  • cargo

Steps

  • Install cargo-vcpkg
cargo install cargo-vcpkg
  • Build sdl2 via cargo-vcpkg
cargo vcpkg build
  • Build the project
cargo build
  • This will generate the executable in the folder target/debug

About

Rust implementation of Chip-8 emulator/interpreter

Resources

License

Stars

Watchers

Forks

Languages