Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.17 KB

Game Boy in Python

A Game Boy emulator implemented with pure Python (abbr. GBP). GBP is a very simple implement and is able to run some of the GameBoy games (e.g., Dr. Mario). GBP has also passed the blargg's CPU instruction tests.

However, due to its simplicity and Python'ss performance bottleneck, the frame rate is usually only 3 or 4 (tested on the Apple M1 pro silicon).

Feature not implemented:

  • Cartridge MBCs.
  • Audio.
  • Game Boy Color / Super Game Boy functionalities.
  • Bootstrap and so on.

Usage

gameboy [-h] [--debug] gamerom
  • gamerom: Path to the game ROM file.
  • -h --help: Show the help message and exit.
  • --debug: Enable debugging mode.

Installation

  • From source: Clone this repository and run pip install .
  • From pypi: Run pip install gameboy-python

Requirements: pysdl2, pysdl2-dll

Screenshot

GameBoy

References