gameboy_emulator
Gameboy Emulator written in Rust
File Explorer
Download Latest Version (.zip)- flag.rs
- mod.rs
- mod.rs
- mod.rs
- step_result.rs
- traits.rs
- bg_attributes.rs
- cgb_color.rs
- color.rs
- lcd_control_flag.rs
- mod.rs
- sprite_attributes.rs
- buttons.rs
- mod.rs
- cartridge.rs
- gpu_cycles.rs
- interrupt.rs
- mbc.rs
- mbc1.rs
- mbc2.rs
- mbc3.rs
- mbc5.rs
- mbc_type.rs
- mod.rs
- rom_only.rs
- mod.rs
- noise_channel.rs
- pulse_channel.rs
- wave_channel.rs
- bit_utils.rs
- button.rs
- controller_event.rs
- lib.rs
- rtc.rs
- timer.rs
- Cargo.toml
- gameboy_emulator.rs
- lib.rs
- native_rtc.rs
- screen.rs
- Cargo.toml
- lib.rs
- screen.rs
- web_rtc.rs
- Cargo.toml
- blaarg_tests.png
- kirby2.png
- mario.png
- metroid.png
- pokemon.png
- pokemon_crystal.png
- pokemon_yellow.png
- shantae.png
- super_mario.png
- tetris.png
- zelda.png
- lib.rs
- index.html
- .gitignore
- .travis.yml
- Cargo.lock
- Cargo.toml
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/benkonz/gameboy_emulator
Downloads the entire project code from GitHub to your computer.
cd gameboy_emulator
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Rust (rustup) Rust is required to use cargo.
cargo install gameboy_opengl
Builds and installs the package published on crates.io β no need to clone the repo yourself.
cargo install wasm-pack
Builds and installs the package published on crates.io β no need to clone the repo yourself.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo install gameboy_opengl
Builds and installs the package published on crates.io β no need to clone the repo yourself.
cargo build --package gameboy_opengl --bin gameboy_emulator --release
Compiles the Rust project.
cargo install wasm-pack
Builds and installs the package published on crates.io β no need to clone the repo yourself.
cargo build --release --target wasm32-unknown-unknown
Compiles the Rust project.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
