https://github.com/chrrs/gameboy-rs
A gameboy emulator made in Rust
https://github.com/chrrs/gameboy-rs
cpu emulator gameboy gameboy-emulator low-level rust
Last synced: about 1 month ago
JSON representation
A gameboy emulator made in Rust
- Host: GitHub
- URL: https://github.com/chrrs/gameboy-rs
- Owner: chrrs
- License: mit
- Created: 2021-07-04T21:32:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T16:04:58.000Z (about 4 years ago)
- Last Synced: 2025-04-05T06:29:22.305Z (6 months ago)
- Topics: cpu, emulator, gameboy, gameboy-emulator, low-level, rust
- Language: Rust
- Homepage:
- Size: 278 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gameboy-rs
A simple non-accurate gameboy emulator made in Rust. It doesn't have sound (yet).## Building and running
### Running
```bash
$ cargo run -- path/to/rom.gb
```
You can also run the debug view using the `-d` flag:
```bash
$ cargo run -- path/to/rom.gb -d
```Save games will appear on closing the emulator in the `saves` folder.
## Credits
- The [gameboy pandocs](https://gbdev.io/pandocs/), the best gameboy resource out there.
- [mooneye-gb](https://github.com/Gekkio/mooneye-gb) for some specific implementation details.
- [Eric Haskings explaining how the DAA instruction works](https://ehaskins.com/2018-01-30%20Z80%20DAA/), which I still don't fully understand.
- [Imran Nazar's gameboy in JavaScript tutorial](http://imrannazar.com/GameBoy-Emulation-in-JavaScript) as a general guideline on where to start.
- The [/r/EmuDev reddit community](https://www.reddit.com/r/EmuDev/) and their discord for just general usefulness.