SplitScript reference / Genesis

Genesis

state provider

state Genesis

Attaches to a supported Sega Genesis emulator.

The provider discovers the console's 64 KiB work RAM and exposes original Genesis offsets through the read-only genesis value of type GenesisEmulator. It normalizes the word-swapped storage used by several emulators before decoding values in the console's big-endian byte order. It owns discovery for Fusion, Gens, BlastEm, Sega Game Room, Sega Genesis Classics, and supported RetroArch cores. Declare guest offsets directly instead of recreating emulator-specific DeepPointer mappings or manual byte-order correction.

Examples

Read Genesis work RAM

state Genesis {
    score: u32 at 0x1200
}

Value type

MemberDescriptionAvailable through
GenesisEmulatorRetains a discovered Sega Genesis work-RAM mapping.