Expand description
Chipset emulation building blocks and implementations.
Modules§
- ay_
player - An emulator of a video-less chip for ZX Spectrum to be used in a music player.
- plus
- An emulator of the ULAplus enhanced graphics.
- scld
- An emulator of the Timex’s SCLD chip used in TC2048 / TC2068 and TS2068 models.
- ula
- An emulator of Sinclair Uncommitted Logic Array chip for ZX Spectrum 16k/48k PAL/NTSC.
- ula3
- An emulator of Amstrad Gate Array chip for ZX Spectrum +2A/+3.
- ula128
- An emulator of Sinclair Uncommitted Logic Array chip for ZX Spectrum 128k/+2.
Structs§
- Color
Mode - ULAplus data port flags when register port is set to UlaPlusRegFlags::MODE_GROUP.
- EarMic
- This type represents packed EAR and MIC output data.
- Parse
Read EarMode Error - Scld
Ctrl Flags - Timex TC2048/TC2068/TS2068 screen and memory control flags.
- Thread
Sync Timer - A tool for synchronizing emulation with a running thread.
- TryFrom
U8Color Mode Error - TryFrom
U8Ear MicError - TryFrom
U8Ula3 Paging Error - Ula3
Ctrl Flags - ZX Spectrum +2A / +3 secondary control flags.
- Ula128
MemFlags - ZX Spectrum 128K / +2 memory control flags and +2A / +3 primary control flags.
- UlaPlus
RegFlags - ULAplus register port flags.
- UlaPort
Flags - ZX Spectrum’s ULA port flags.
- ZxSpectrum128
Config - ZX Spectrum 128k/+2/+2A/+3 configuration parameters.
- ZxSpectrumNTSC
Config - ZX Spectrum NTSC configuration parameters.
- ZxSpectrumPAL
Config - ZX Spectrum PAL configuration parameters.
Enums§
- Read
EarMode - This enum determines the EAR input (bit 6) read from the 0xFE port when there is no EAR input feed.
- Ula3
Paging
Traits§
- Control
Unit - This trait provides the interface for running the emulation and accessing instances of peripheral devices.
- EarIn
- A trait for feeding the EAR line input.
- Frame
State - The trait for reading and modifying the state of frame and cycle counters.
- Host
Config - A helper trait for accessing parameters of well-known host configurations.
- Inner
Access - A generic trait, useful for chipset implementations based on other underlying implementations.
- Memory
Access - A trait for directly accessing an emulated memory implementation and memory extensions.
- MicOut
- A trait for reading the MIC line output.
- UlaCommon
- A grouping trait of all common control traits for all emulated
Ula
chipsets except audio rendering. - UlaControl
- Specialized ULA functionality access methods.
Functions§
- duration_
from_ frame_ tc_ cpu_ hz - Returns a duration from the number of T-states in a single frame and a CPU clock rate.
- nanos_
from_ frame_ tc_ cpu_ hz - Returns the number of nanoseconds from the number of T-states in a single frame and a CPU clock rate.