by drhelius
Sega Master System / Game Gear / SG-1000 emulator, debugger and embedded MCP server for macOS, Windows, Linux, BSD and RetroArch.
# Add to your Claude Code skills
git clone https://github.com/drhelius/GearsystemGearsystem is a very accurate, cross-platform Sega Master System / Game Gear / SG-1000 emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch, with an embedded MCP server for debugging and tooling.
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 opening an issue.
Notes:
libsdl3None in the Emulator menu. This emulates a machine without any media plugged in.Top+Bottom and Aspect Ratio Standard (4:3 DAR) in the Video menu. Game Gear will ignore any overscan settings.portable.ini in the same directory as the application binary to enable portable mode.Emulator menu. When enabled, opening a ROM while another instance is running will send the ROM to the running instance instead of starting a new one.path_to_rom_file.sms it tries to load path_to_rom_file.sym. You can also load a symbol file using the GUI or the CLI. It supports sjasmplus/Pasmo (EQU), SDCC/NoICE (.noi), wla-dx and vasm/generic file formats.gearsystem [options] [rom_file] [symbol_file]
Arguments:
[rom_file] ROM file: accepts ROMs (.sms, .gg, .sg, .mv) or ZIP (.zip)
[symbol_file] Optional symbol file for debugging
Options:
-f, --fullscreen Start in fullscreen mode
-w, --windowed Start in windowed mode with menu visible
--mcp-stdio Auto-start MCP server with stdio transport
--mcp-http Auto-start MCP server with HTTP transport
--mcp-http-port N HTTP port for MCP server (default: 7777)
--headless Run without GUI (requires --mcp-stdio or --mcp-http)
-v, --version Display version information
-h, --help Display this help message
Gearsystem includes a Model Context Protocol (MCP) server that enables AI-assisted debugging through AI agents like GitHub Copilot, Claude, ChatGPT and similar. The server provides tools for execution control, memory inspection, breakpoints, disassembly, hardware status, and more.
For complete setup instructions and tool documentation, see MCP_README.md.
Gearsystem provides Agent Skills that teach AI assistants how to effectively use the emulator for specific tasks:
Install with npx skills add drhelius/gearsystem. See the skills README for details.
No comments yet. Be the first to share your thoughts!