9f5d376e4a
Former-commit-id: 9f494d57299faa5d1d5a962d617fb047634cd93d Former-commit-id: 262ee4fd58084dce3302539eeb80c116cca9a9a5
41 lines
1.5 KiB
Markdown
41 lines
1.5 KiB
Markdown
# rustboyadvance-ng
|
|
|
|
Nintendo GameBoy Advance™ emulator and debugger, written in Rust.
|
|
|
|
> This repository is a fork of [rustboyadvance-ng](https://github.com/michelhe/rustboyadvance-ng), with minimal non-feature changes.
|
|
|
|
# Project Structure
|
|
* `core/` - Main emulator crate that ties everything together
|
|
* `arm7tdmi/` - Emulation of the Arm7tdmi processor
|
|
* `platform/` - Constains executables & application built with `rustboyadvance-core`
|
|
* `platform/rustbodyadvance-wasm` - Web emulator powered by WebAssembly
|
|
* `platform/rustbodyadvance-sdl2` - Desktop application built with sdl2
|
|
* `platform/rustbodyadvance-minifb` - Desktop application built with minifb, *not maintained*.
|
|
* `platform/rustbodyadvance-jni` - Java JNI binidngs for the emulator.
|
|
* `platform/android` - A PoC Android application.
|
|
|
|
## Key bindings
|
|
GBA key bindings:
|
|
|
|
| Keyboard | GBA |
|
|
|----------- |---------- |
|
|
| Up | Up |
|
|
| Down | Down |
|
|
| Left | Right |
|
|
| Right | Right |
|
|
| Z | B Button |
|
|
| X | A Button |
|
|
| Return | Start |
|
|
| Backspace | Select |
|
|
| A | L |
|
|
| S | R |
|
|
|
|
Special key bindings
|
|
| Key | Function |
|
|
|-------------- |-------------------- |
|
|
| Space (hold) | Disable 60fps cap |
|
|
| F1 | Custom debugger (requires --features debugger) |
|
|
| F2 | Spawn gdbserver (experimetnal, requires --features gdb) |
|
|
| F5 | Save snapshot file |
|
|
| F9 | Load snapshot file |
|