Code Monkey home page Code Monkey logo

gba_rust's Introduction

gba_rust

Web demo (preferred way of using this emulator)

https://zhiz-m.github.io/gba_rust/

Pre-requisites:

This emulator requires a copy of the GBA bios. It shouldn't be hard to find online, but for legal reasons it can't be included in this repo. For the native desktop version, create an environment variable named GBA_RUST_BIOS_PATH with the path to the bios file. For the web version, there will be an button to upload the bios file.

How to run natively on your desktop:

The desktop version has the advantage of running closer to your hardware, and hence runs at a 2-3x higher uncapped FPS over the web version (though both versions can play everything I've tested comfortably at the GBA's native 60FPS)

$ cargo run --release -- --help

Eg, to run a game on my local setup:

cargo run --release -- -o ..\..\Games\GBA\Pokemon_emerald.gba

Screenshots

plot

plot

plot

Acknowledgements:

Reference materials

General reference materials

ARM7TDMI CPU

Audio processing unit

Test roms

Notes

The code quality could be improved, but the emulation is fully functional and great effort has been made to optimize performance- hold down your spacebar to run the emulator at an uncapped framerate.

gba_rust's People

Contributors

zhiz-m avatar

Stargazers

 avatar  avatar Daniel Chin avatar James Balajan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.