gbrs

Emulator 0.6

gbrs is a Game Boy emulator written in Rust, released in version 0.6 by Adam Soutar; the project is only available as source code.

gbrs is a Game Boy emulator written in Rust, designed to accurately reproduce the original hardware. It supports advanced features such as scanline effects (required for games like Road Rash), as well as MBC1, MBC2, and MBC3 (for advanced cartridges), and hardware quirks like the LCD Stat interrupt or the internal Window counter. Game saves and sound management are also implemented.

Although the project is still under development and distributed solely as source code, it offers ports for several graphical backends, including SDL and SFML. While not officially optimized for macOS, its modular architecture allows compilation on Apple Silicon and recent system versions. Experienced users can assemble it via Cargo, adjusting dependencies according to their environment.

Tetris dans gars (Game Boy)

Last updated:

Platforms

Architecture

Mac OS X - macOS Mac OS X - macOS Intel x86 Intel x86 64-bit 64-bit SDL Library

Download and links

Version history

0.6
  • Ajout de l'émulation précise des cycles de l'écran LCD et correction des erreurs de timing CPU, permettant le bon fonctionnement de Pokémon Red/Blue.
  • Implémentation de l'instruction CPU HALT, résolvant un blocage critique dans Pokémon Red/Blue.
  • Correction d’un problème ancien dans Dr. Mario lié à l’affichage LCD, le rendant jouable.
  • Support ajouté pour le Memory Board Controller 3, élargissant la compatibilité aux jeux mentionnés.
  • Amélioration globale de la précision de l’émulation CPU pour des titres spécifiques.

This release improves LCD emulation accuracy, fixes some CPU cycle timing mistakes, and implements the CPU HALT instruction. This combination finally fixes Pokémon Red/Blue! That's a major goal of the project ticked off. The LCD fixes have also fixed a long-running issue with Dr Mario, which now works just fine!

It implements support for Memory Board Controller 3, allowing us to run:

Pokémon Red Pokémon Blue WarioLand 2

0.5
  • Correction d’un bug récurrent affichant des lignes de balayage corrompues sur les sprites en double hauteur, améliorant la compatibilité visuelle avec Donkey Kong.
  • Ajout du support pour le Memory Board Controller 2, permettant l’exécution de jeux comme Kirby’s Pinball Adventure ou Final Fantasy Legend.
  • Correction des problèmes graphiques dans Ayakashi no Shiro, F-1 Race, Golf et Top Ranking Tennis.

This release fixes a long-running bug where corrupted scanlines would appear in double-height sprites. It fixes visual issues in Donkey Kong, among others.

It also implements support for Memory Board Controller 2, allowing us to run:

  • Kirby's Pinball Adventure
  • Ayakashi no Shiro
  • F-1 Race
  • Golf
  • Final Fantasy Legend
  • Top Ranking Tennis
0.4
  • Séparation du code en deux crates distinctes : gbrs-sfml-gui (interface utilisateur pour Windows/macOS/Linux) et gbrs-core (émulation Gameboy).
  • Mise à jour de gbrs-core pour compiler avec #![no_std], permettant une portabilité accrue vers des systèmes embarqués ou bare metal.
  • Préparation d’un portage futur vers la plateforme Playdate grâce à cette modification.
  • Aucune nouvelle compatibilité Gameboy ou fonctionnalité émulateur ajoutée.

This version does not implement any new Gameboy compatibility, however, it does make some important changes to the Rust codebase.

First of all, the GUI code for Windows/macOS/Linux (gbrs-sfml-gui) has been separated from Gameboy emulation code (gbrs-core) - splitting the project into two crates.

Second, gbrs-core has been updated to support compiling with #![no_std]. This allows us to port the core Gameboy emulation code to vastly more systems by running on bare metal. The main reason this change has been made is to support an upcoming project for porting gbrs to Playdate.

Reply on the forum

A question or a hands-on report? Open the discussion on the forum.

Reply on the forum