Skip to content

Sega - MS/GG (Gearsystem)

Background

Gearsystem is an open source, cross-platform, Sega Master System / Game Gear / SG-1000 / Othello Multivision emulator written in C++.

  • Accurate Z80 core, including undocumented opcodes and behavior like R and MEMPTR registers.
  • Supported cartridges: ROM, ROM + RAM, SEGA, Codemasters, Korean, MSX + Nemesis, Janggun, SG-1000.
  • Automatic region detection: NTSC-JAP, NTSC-USA, PAL-EUR.
  • Accurate VDP emulation including timing and Master System 2 only 224 video mode support.
  • Internal database for rom detection.
  • Battery powered RAM save support.
  • Save states.
  • Game Genie and Pro Action Replay cheat support.
  • 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 and QNX.

The Gearsystem core has been authored by

The Gearsystem core is licensed under

A summary of the licenses behind RetroArch and its cores can be found here.

BIOS

Gearsystem does not require BIOS (bootrom) files to work but they can be used optionally.

When the BIOS is enabled it will execute as in original hardware, causing invalid roms to lock or preventing them to boot, depending on the BIOS file and rom region and system. If you experience issues disable the BIOS.

Required or optional firmware files go in the frontend's system directory.

Attention

If you’d like to use any BIOS, you can place the following files in RetroArch's system directory. Then, you need to enable Master System BIOS and/or Game Gear BIOS core options for these BIOS files to be used.

Filename Description md5sum
bios.sms Master System BIOS - Optional 840481177270d5642a14ca71ee72844c
bios.gg Game Gear BIOS - Optional 672e104c3be3a238301aceffc3b23fd6

Extensions

Content that can be loaded by the Gearsystem core have the following file extensions:

  • .sms
  • .gg
  • .sg
  • .mv
  • .bin
  • .rom

RetroArch database(s) that are associated with the Gearsystem core:

Features

Frontend-level settings or features that the Gearsystem core respects.

Feature Supported
Restart
Screenshots
Saves
States
Rewind
Netplay
Core Options
RetroAchievements
RetroArch Cheats - Game Genie
RetroArch Cheats - Pro Acion Replay
Native Cheats
Controls
Remapping
Multi-Mouse
Rumble
Sensors
Camera
Location
Subsystem
Softpatching
Disk Control
Username
Language
Crop Overscan
LEDs

Directories

The Gearsystem core's library name is 'Gearsystem'

The Gearsystem core saves/loads to/from these directories.

Frontend's Save directory

File Description
*.srm Cartridge battery save

Frontend's State directory

File Description
*.state# State

Geometry and timing

  • The Gearsystem core's core provided FPS is 60 for NTSC games and 50 for PAL games
  • The Gearsystem core's core provided sample rate is 44100 Hz
  • The Gearsystem core's base width is 256 for Master System / SG-1000 games and 160 for Game Gear games
  • The Gearsystem core's base height is 192 for Master System / SG-1000 games and 144 for Game Gear games
  • The Gearsystem core's max width is 256 for Master System games and 160 for Game Gear games
  • The Gearsystem core's max height is 224 for Master System games and 144 for Game Gear games
  • The Gearsystem core's core provided aspect ratio is 4:3 for Master System / SG-1000 games and 10:9 for Game Gear games

Core options

The Gearsystem core has the following options that can be tweaked from the core options menu. The default setting is bolded.

Settings with (Restart) means that core has to be closed for the new setting to be applied on next launch.

  • System (restart) [gearsystem_system] (Auto|Master System / Mark III|Game Gear|SG-1000 / Multivision)

    Select which hardware/model is emulated.

    • Auto selects the best hardware based in the rom.
    • Master System / Mark III forces original Master System / Mark III hardware.
    • Game Gear forces Game Gear hardware.
    • SG-1000 / Multivision forces SG-1000 / Multivision hardware.
  • Region (restart) [gearsystem_region] (Auto|Master System Japan|Master System Export|Game Gear Japan|Game Gear Export|Game Gear International)

    Select which region is emulated.

    • Auto selects the best region based in the rom.
    • Master System Japan forces Master System Japan region.
    • Master System Export forces Master System Export region.
    • Game Gear Japan forces Game Gear Japan region.
    • Game Gear Export forces Game Gear Export region.
    • Game Gear International forces Game Gear International region.
  • Mapper (restart) [gearsystem_mapper] (Auto|ROM|SEGA|Codemasters|Korean|SG-1000)

    Select which mapper (memory bank controller) is emulated.

    • Auto selects the best mapper based in the rom.
    • ROM forces no mapper.
    • SEGA forces SEGA mapper.
    • Codemasters forces Codemasters mapper.
    • Korean forces Korean mapper.
    • SG-1000 forces SG-1000 mapper.
  • Refresh Rate (restart) [gearsystem_timing] (Auto|NTSC (60 Hz)|PAL (50 Hz))

    Select which refresh rate will be used in emulation.

    • Auto selects the best refresh rate based in the rom.
    • NTSC (60 Hz) forces 60 Hz.
    • PAL (50 Hz) forces 50 Hz.
  • Aspect Ratio (restart) [gearsystem_aspect_ratio] (Auto|4:3|16:9)

    Select which aspect ratio will be presented by the core.

    • 1:1 PAR selects an aspect ratio that produces square pixels.
    • 4:3 PAR forces 4:3 aspect ratio.
    • 16:9 PAR forces 16:9 aspect ratio.
  • Overscan [gearsystem_overscan] (Disabled|Top+Bottom|Full)

    Select which overscan (borders) will be used in emulation.

    • Disabled disables overscan.
    • Top+Bottom enables overscan for top and bottom.
    • Full enables overscan for top, bottom, left and right.
  • Master System BIOS (restart) [gearsystem_bios_sms] (Disabled|Enabled)

    This option will enable/disable BIOS for Master System / Mark III models. For this to work, the bios.sms file must exist in the Retro Arch's system directory.

  • Game Gear BIOS (restart) [gearsystem_bios_gg] (Disabled|Enabled)

    This option will enable/disable BIOS for Game Gear model. For this to work, the bios.gg file must exist in the Retro Arch's system directory.

  • 3D Glasses [gearsystem_glasses] (Both Eyes / OFF|Left Eye|Right Eye)

    For games with 3D glasses support this option will let you choose to display only left or right eye.

    • Both Eyes / OFF is required for games with NO 3D support or if you want to display both eyes in 3D games.
    • Left Eye displays the left eye only.
    • Right Eye displays the right eye only.
  • Allow Up+Down / Left+Right [gearsystem_up_down_allowed] (Disabled|Enabled)

    Enabling this will allow pressing / quickly alternating / holding both left and right (or up and down in some games) directions at the same time.

    This may cause movement based glitches to occur in certain games.

    It's best to keep this core option disabled.

Joypad

User 1 input descriptors RetroPad Inputs
1
Start
Up
Down
Left
Right
2

Compatibility

See also

Sega - Game Gear

Sega - Master System - Mark III

Sega - SG-1000


Last update: 2024-04-25