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
| Member | Description | Available through |
|---|---|---|
| MemoryReader | Reads typed values and bounded strings from an address space. |
Methods
| Member | Description | Available through |
|---|---|---|
| read | Reads one fixed-layout value from this address space. | Available through MemoryReader |
| readUtf16Le | Reads a bounded NUL-terminated little-endian UTF-16 string. | Available through MemoryReader |
| readUtf8 | Reads a bounded NUL-terminated UTF-8 string. | Available through MemoryReader |
| read | Reads a typed value from emulated PlayStation memory. |