Log inGet started
Package

mastersystem.package

Newest version

README.md

mastersystem (emulatorCore)

Sega Master System (and SG-1000) console spec for the room's console TVs and any RetroConsole cabinet: 256×192 at 59.92 Hz, the SN76489 as 44.1 kHz stereo PCM, cartridge battery RAM saved under mastersystem_saves/, and whole-machine save states. The machine is mastersystem.machine.

  • Carts: .sms, .sg (raw, copier header dropped) or a .zip holding one.
  • tv = true: a room TV offers it by itself; padBar names its buttons (D-pad, 1, 2, Pause).
  • Runs on the station's worker thread (workerModule), drawing only the frame shown (drawControl).
  • setPad(m, p1, p2): d-pad, A → button 1, B → button 2, Start → Pause (the Z80 NMI).
  • The shelf's built-in carts are the package's CC0 homebrew (mastersystem.homebrew) in /zero/source/mastersystem_roms/.
  • helpers (make, keyboard, ram) is shared with the Game Gear spec.