Rust implementation of Chip-8 emulator/interpreter using SDL2 (OpenGL)
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
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
.
rustc
compilercargo
- Install
cargo-vcpkg
cargo install cargo-vcpkg
- Build
sdl2
viacargo-vcpkg
cargo vcpkg build
- Build the project
cargo build
- This will generate the executable in the folder
target/debug