SplitScript reference / PS1Emulator

PS1Emulator

struct

struct PS1Emulator

Retains a discovered PlayStation emulator memory mapping.

Stable mappings store RAM directly, while DuckStation and PCSX-Redux retain the native pointers needed to refresh a moving RAM base before every read. PS1Emulator.read always accepts original PlayStation addresses.

Examples

Use the attached PlayStation memory provider

let emulator: PS1Emulator = ps1

Capabilities

MemberDescriptionAvailable through
MemoryReaderReads typed values and bounded strings from an address space.

Methods

MemberDescriptionAvailable through
readReads one fixed-layout value from this address space.Available through MemoryReader
readUtf16LeReads a bounded NUL-terminated little-endian UTF-16 string.Available through MemoryReader
readUtf8Reads a bounded NUL-terminated UTF-8 string.Available through MemoryReader
readReads a typed value from emulated PlayStation memory.