Skip to content

Latest commit

 

History

96 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boyo

License Language Platform

Boyo is a modular, lightweight Gameboy and Gameboy Color emulator designed to be platform-agnostic. It is compatible with the majority of the commercial game library and passes a significant number of hardware conformance tests.

Features

  • Emulates both the original Gameboy (DMG) and Gameboy Color (CGB)
  • Runs the majority of the commercial game library
  • Written in C (using C2x/C23 features)
  • Modular architecture allowing for simple creation of new frontends
  • SDL2 frontend for easy porting to different operating systems and platforms
  • Supports both keyboard input and SDL-compatible Gamepads

Prerequisites

To build Boyo, you will need a modern, up-to-date C compiler supporting C2x/C23 (like gcc), and make. The SDL2 development libraries are also required for the SDL2 frontend.

Ubuntu/Debian:

sudo apt-get install build-essential libsdl2-dev

macOS (Homebrew):

brew install sdl2

Building

You can compile Boyo for either the original Gameboy or the Gameboy Color.

1. Clone the repository

git clone https://github.com/imchristina/boyo.git
cd boyo

2. Compile

For Gameboy (DMG):

make

For Gameboy Color (CGB):

make CGB=1

Run make clean before building a different target.

Setup & Usage

1. Bootrom Requirements

Boyo requires original BIOS bootroms to function. You must provide these files yourself. These files are loaded from the current working directory.

  • DMG Mode: Requires dmg_boot.bin
  • CGB Mode: Requires cgb_boot.bin

2. Running a ROM

./boyo path/to/rom.gb

Note: Boyo currently runs in a window matching the native Gameboy resolution. Window scaling is not yet supported.

Controls

Boyo supports keyboard input and SDL-compatible game controllers.

Button Keyboard Key
D-Pad Up W
D-Pad Left A
D-Pad Down S
D-Pad Right D
A L
B K
Start H
Select G

License

Distributed under the MIT License. See LICENSE for more information.

About

Gameboy Emulator (DMG/CGB)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages