SplitScript reference / GenesisEmulator

GenesisEmulator

record

record GenesisEmulator

Retains a discovered Sega Genesis work-RAM mapping.

Fusion and Sega Classics retain a native pointer whose target may move. Gens, BlastEm, and the supported libretro cores retain a stable base. The provider also records whether the emulator stores each 16-bit word with its bytes reversed so reads can expose one consistent guest-memory view.

Examples

Use the attached Genesis memory provider

let emulator: GenesisEmulator = genesis

Methods

MemberDescriptionAvailable through
readReads a typed value from emulated Genesis work RAM.