MyGit

drhelius/Gearboy

Fork: 135 Star: 885 (更新于 2024-11-22 17:07:08)

license: GPL-3.0

Language: C++ .

Game Boy / Gameboy Color emulator and debugger for macOS, Windows, Linux, BSD and RetroArch.

最后发布版本: 3.5.0 ( 2024-03-03 23:40:27)

官方网址 GitHub网址

Gearboy

GitHub Workflow Status GitHub Releases) commits) GitHub contributors GitHub Sponsors GitHub Twitter Follow

Gearboy is a cross-platform Game Boy / Game Boy Color emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch.

This is an open source project with its ongoing development made possible thanks to the support by these awesome backers. If you find it useful, please, consider sponsoring.

Don't hesitate to report bugs or ask for new features by openning an issue.

Downloads

Features

  • Accurate CPU emulation, passes cpu_instrs.gb from blargg's tests.
  • Accurate instruction and memory timing, passes instr_timing.gb and mem_timing.gb from blargg's tests.
  • Supported cartridges: ROM, ROM + RAM, MBC1, MBC2, MBC3 + RTC, MBC5, HuC-1 and MBC1M (multicart).
  • Accurate LCD controller emulation with correct timings and priorities including mid-scanline effects.
  • Game Boy Color support.
  • LCD screen ghosting effect as seen in the original Game Boy.
  • LCD dot matrix effect.
  • Battery powered RAM save support.
  • Save states.
  • Compressed rom support (ZIP).
  • Bootrom (BIOS) support.
  • Game Genie and GameShark cheat support.
  • Supported platforms (standalone): Windows, Linux, BSD and macOS.
  • Supported platforms (libretro): Windows, Linux, macOS, Raspberry Pi, Android, iOS, tvOS, PlayStation Vita, PlayStation 3, Nintendo 3DS, Nintendo GameCube, Nintendo Wii, Nintendo WiiU, Nintendo Switch, Emscripten, Classic Mini systems (NES, SNES, C64, ...), OpenDingux, RetroFW and QNX.
  • Full debugger with just-in-time disassembler, cpu breakpoints, memory access breakpoints, code navigation (goto address, JP JR and CALL double clicking), debug symbols, memory editor, IO inspector and VRAM viewer including tiles, sprites, backgrounds and palettes.
  • Windows and Linux Portable Mode.
  • Rom loading from the command line by adding the rom path as an argument.
  • Support for modern game controllers through gamecontrollerdb.txt file located in the same directory as the application binary.

Tips

  • Boot ROM: Gearboy can run with or without a Boot ROM. You can optionally load a Boot ROM and enable it.
  • Mouse Cursor: Automatically hides when hovering main output window or when Main Menu is disabled.
  • Portable Mode: Create an empty file named portable.ini in the same directory as the application binary to enable portable mode.
  • Debug Symbols: The emulator always tries to load a symbol file at the same time a rom is being loaded. For example, for path_to_rom_file.gb it tries to load path_to_rom_file.sym. It is also possible to load a symbol file using the GUI or using the CLI.
  • Command Line Usage: gearboy [rom_file] [symbol_file]

Build Instructions

Windows

  • Install Microsoft Visual Studio Community 2022 or later.
  • Open the Gearboy Visual Studio solution platforms/windows/Gearboy.sln and build.

macOS

  • Install Xcode and run xcode-select --install in the terminal for the compiler to be available on the command line.
  • Run these commands to generate a Mac app bundle:
brew install sdl2
cd platforms/macos
make dist

Linux

  • Ubuntu / Debian / Raspberry Pi (Raspbian):
sudo apt install build-essential libsdl2-dev libglew-dev libgtk-3-dev
cd platforms/linux
make
  • Fedora:
sudo dnf install @development-tools gcc-c++ SDL2-devel glew-devel gtk3-devel
cd platforms/linux
make

BSD

  • FreeBSD:
su root -c "pkg install -y git gmake pkgconf SDL2 glew lang/gcc gtk3"
cd platforms/bsd
gmake
  • NetBSD:
su root -c "pkgin install gmake pkgconf SDL2 glew lang/gcc gtk3"
cd platforms/bsd
gmake

Libretro

  • Ubuntu / Debian / Raspberry Pi (Raspbian):
sudo apt install build-essential
cd platforms/libretro
make
  • Fedora:
sudo dnf install @development-tools gcc-c++
cd platforms/libretro
make

Accuracy Tests

Compared to other emulators: see here.

Tests from blargg's test roms:

cpu_instrs.gbinsrt_timing.gblcd_sync.gbdmg_sound.gbcgb_sound.gbmem_timing.gb

Screenshots

ScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshotScreenshot

Contributors

Thank you to all the people who have already contributed to Gearboy!

Contributors

License

Gearboy is licensed under the GNU General Public License v3.0 License, see LICENSE for more information.

最近版本更新:(数据更新于 2024-09-18 08:34:39)

2024-03-03 23:40:27 3.5.0

2021-08-14 05:37:10 gearboy-3.4.0

2021-02-15 05:10:19 gearboy-3.3.0

2020-12-31 20:06:16 gearboy-3.2.0

2020-05-24 03:54:58 gearboy-3.1.1

2020-05-08 01:21:30 gearboy-3.1.0

2020-04-22 04:16:00 gearboy-3.0.4

2020-04-20 01:56:19 gearboy-3.0.3

2020-04-13 04:22:23 gearboy-3.0.2

2020-04-09 03:08:35 gearboy-3.0.1

主题(topics):

bsd, emulation, emulator, game-boy, gameboy, gameboy-color-emulator, gameboy-emulator, libretro, linux, nintendo-gameboy, raspberry-pi, retroarch

drhelius/Gearboy同语言 C++最近更新仓库

2024-11-22 19:14:23 ClickHouse/ClickHouse

2024-11-22 19:09:45 manticoresoftware/manticoresearch

2024-11-21 04:48:41 PCSX2/pcsx2

2024-11-20 09:02:24 dail8859/NotepadNext

2024-11-20 04:28:15 microsoft/terminal

2024-11-18 14:36:13 cxasm/notepad--