Module spectrusty_core::chip

source ·
Expand description

Chipset emulation building blocks.

Structs

ULAplus data port flags when register port is set to UlaPlusRegFlags::MODE_GROUP.
This type represents packed EAR and MIC output data.
Timex TC2048/TC2068/TS2068 screen and memory control flags.
A tool for synchronizing emulation with a running thread.
ZX Spectrum +2A / +3 secondary control flags.
ZX Spectrum 128K / +2 memory control flags and +2A / +3 primary control flags.
ULAplus register port flags.
ZX Spectrum’s ULA port flags.

Enums

This enum determines the EAR input (bit 6) read from the 0xFE port when there is no EAR input feed.

Traits

This trait provides the interface for running the emulation and accessing instances of peripheral devices.
A trait for feeding the EAR line input.
The trait for reading and modifying the state of frame and cycle counters.
A helper trait for accessing parameters of well-known host configurations.
A generic trait, useful for chipset implementations based on other underlying implementations.
A trait for directly accessing an emulated memory implementation and memory extensions.
A trait for reading the MIC line output.

Functions

Returns a duration from the number of T-states in a single frame and a CPU clock rate.
Returns the number of nanoseconds from the number of T-states in a single frame and a CPU clock rate.