SplitScript reference / SMS

SMS

state provider

state SMS

Attaches to a supported Sega Master System or Game Gear emulator.

The provider exposes original 16-bit console addresses through the read-only sms value of type SMSEmulator. It owns discovery for Fusion, BlastEm, Mednafen, and supported RetroArch cores. Declare guest addresses directly instead of recreating emulator-specific DeepPointer mappings.

Examples

Read Master System work RAM

state SMS {
    lives: u8 at 0xc010
}

Value type

MemberDescriptionAvailable through
SMSEmulatorRetains a discovered Sega Master System or Game Gear memory mapping.