OakEmu-Python
Control a ZX Spectrum emulator from Python. Load snapshots, run the machine, press keys and read memory or screenshots as NumPy arrays.
The package wraps the .NET OakEmu library using pythonnet. The required OakEmu assemblies are included in the Python package.
Start with installation and a first example, or browse the Python API.
What it provides
- A 48K ZX Spectrum with a choice of CPU and screen implementations.
- Access to memory, CPU registers and keyboard input.
- Screenshots as palette indexes or RGB arrays.
- Snapshot loading, saving, compression and diagnostic dumps.
The guides explain these features with short examples. This package is licensed under GPL-3.0-only.