glitzflitz / GlitzBoy

A GameBoy emulator written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GlitzBoy

Build Status
A fast cross platform Gamboy(DMG) emulator written in C.
GlitzBoy supports sound, several hardware types, and RTC

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Implemented

  • CPU
    • All instructions correct
    • All timings correct
    • Double, triple, quadruple speed mode
  • GPU
    • Normal mode
    • Color mode
  • Audio
  • Joypad
  • Timer
  • MMU
    • MBC-less
    • MBC1
    • MBC3 (with RTC)
    • MBC5
    • save games

Installation

First make sure SDL2 is installed on your platform.
Instructions for Linux, Mac and Windows

git clone https://github.com/glitzflitz/GlitzBoy.git
cd GlitzBoy
make
./GlitzBoy <Path to rom>

Keymap

GlitzBoy uses SDL_GameControllerDB a community sourced databse of controller mappings

z - action A
x - action B
Enter - Start
←↑→↓ - D-pad
1 - Reset to normal speed
2 - Turbo X2(Toggle)
3 - Turbo X3(Toggle)
4 - Turbo X4(Toggle)
p - Change the color palette
Shift+p - Reset to original palette
r - Reset game
f/F11 - Full screen\

Emulation Accuracy

Although the goal of this emulator is speed over accuracy, GlitzBoy passes Blargg's CPU instruction test cases and CPU instruction timing test cases. CPU_Test

About

A GameBoy emulator written in C


Languages

Language:C 98.9%Language:Makefile 1.1%