Module spectrusty::clock

source ·
Expand description

T-state timestamp types and counters.

Macros

This macro is used to implement the ULA I/O contention scheme, for [z80emu::Clock::add_io] method of VFrameTsCounter. It’s being exported for the purpose of performing FUSE tests.

Structs

A timestamp with packed N-bits of data.
A timestamp with packed N-bits of data.
A timestamp with packed N-bits of data.
A VideoTs timestamp wrapper with a constraint to the V: VideoFrame, implementing methods and traits for timestamp calculations.
A generic VFrameTs<V> based T-states counter.
A timestamp type that consists of two video counters: vertical and horizontal.
A timestamp with packed N-bits of data.
A timestamp with packed N-bits of data.
A timestamp with packed N-bits of data.
A timestamp with packed N-bits of data.

Constants

If a vertical counter of VideoTs exceeds this value, it signals the control unit to emulate hanging CPU indefinitely.

Traits

A trait used by VFrameTsCounter for checking if an address is a contended one.
A trait providing calculation methods for timestamps.

Type Definitions

A linear T-state timestamp type.
A type used for a horizontal T-state timestamp or a video scanline index for VideoTs.