GoBoy

Emulator 0.5

GoBoy is a Game Boy and Game Boy Color emulator written in Go by Humphrey Shotton, available only as source code in version 0.5.

GoBoy is a Game Boy and Game Boy Color emulator written in Go, designed as an educational tool to understand the inner workings of Nintendo consoles. It supports most Game Boy games and some Game Boy Color titles, with functional color and sound handling. Although still under development, it includes useful debugging features (opcode display, audio channel control) and automated tests based on Blargg’s reference ROMs.

Available as source code only, GoBoy runs on macOS (as well as Windows and Linux) after compilation with Go. Its interface relies on the pixels library (OpenGL), and it supports automatic saves for compatible cartridges. Advanced features (such as debugging or performance options) are accessed via the command line. The emulator remains experimental, with known limitations (graphics issues, MBC3 handling, etc.).

Zelda: Link's Awakening dans GoBoy

Last updated:

Platforms

Architecture

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

Download and links

Version history

0.5
  • Nouvelle implémentation de l’APU synchronisant précisément l’audio avec l’émulation CPU pour un rendu sonore plus fidèle.
  • Correction des problèmes d’ordre des sprites et de rendu graphique dans l’émulation GPU.
  • Optimisations du CPU pour améliorer les performances via des corrections d’instructions.
  • Prise en charge du rendu des priorités d’affichage arrière-plan/sprites en mode CGB.
  • Synchronisation des tampons audio (APU) avec les ticks CPU pour une meilleure cohérence.

GoBoy v0.5 introduces a number of changes that improve the accuracy and performance of the emulator. A new APU emulation implementation now correctly times the audio with the cpu emulation, resulting in much more accurate audio playback. There have also been a number of improvements to the GPU emulation, fixing multiple sprite ordering issues and rendering bugs. Finally there are also a number of changes to improve the emulator performance.

Notable changes

f876370, da8716d - Improvements to the CPU instruction implementation for a speed increase (#21, #33) 3357ab5, 98ad423 - Implement CGB background and sprite priority rendering resolution 1f1b37e - Match APU buffering to CPU ticks (#29)

0.4.2
  • Ajout d’une interface graphique pour sélectionner manuellement le ROM sans utiliser la ligne de commande.
  • Sortie d’un package macOS standalone (.app) fonctionnel sous Darwin.
  • Amélioration des performances jusqu’à 2x de FPS grâce à un changement de gestion des couleurs (tableaux au lieu de cartes).
  • Correction d’un problème de rendu graphique sous macOS (hack Pixelgl).
  • Construction native macOS incluse dans le bundle.

GoBoy v0.4 introduces some significant performance increases - seeing up to a 2x fps increase since v0.3. It also adds a dialog prompt to select the rom without running from command line, and now outputs a MacOS app which can be run standalone.

Notable Changes

21db2c2 - Pixelgl hack to make window render on darwin 5111e5b - Pick colours using array instead of map (x2 performance increase!) f086e25 - File prompt and bundled Darwin build (#14)

0.3
  • Mise en place d’un nouveau moteur APU offrant une meilleure précision sonore, bien que des problèmes subsistent sur le canal 3.
  • Réorganisation de la gestion de la mémoire des cartouches et correction des timers et transferts DMA.
  • Correction d’un bug graphique lié aux positions x des sprites sous-définies.
  • Passage à une version améliorée du son utilisant le package oto pour une implémentation plus basique.

GoBoy v0.3 introduces a new APU engine which should be significantly more accurate than the previous one. There are still issues with sound (especially channel 3), but it is significantly better than before.

Notable Changes

e32643c - Refactor cart memory and logic, fix timers and DMA transfers (#9) 8fabcd2 - Fix graphics issue with underflowing sprite x-position 017832c - Sound v2 using lower level oto package (#10)

Reply on the forum

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

Reply on the forum