[][src]Struct spectrusty::chip::ula::Ula

pub struct Ula<M, B, X, V> { /* fields omitted */ }

Generic 16k/48k Ferranti ULA (Uncommitted Logic Array).

The type used for <B as BusDevice>::Timestamp should at least satisfy the condition: From<VFrameTs<V>>.

Trait Implementations

impl<A, M, B, X, V> AudioFrame<A> for Ula<M, B, X, V> where
    A: Blep,
    V: VideoFrame
[src]

impl<B, M, D, X, V> AyAudioFrame<B> for Ula<M, D, X, V> where
    B: Blep,
    D: AyAudioBusDevice + BusDevice,
    D::Timestamp: From<VFrameTs<V>>,
    V: VideoFrame
[src]

impl<M: Clone, B: Clone, X: Clone, V: Clone> Clone for Ula<M, B, X, V>[src]

impl<M, B, X, V> ControlUnit for Ula<M, B, X, V> where
    M: ZxMemory,
    B: BusDevice,
    B::Timestamp: From<VFrameTs<V>>,
    X: MemoryExtension,
    V: VideoFrame
[src]

type BusDevice = B

A type of a chain of emulated peripheral devices should be declared here. Read more

impl<M, B, X, V> Debug for Ula<M, B, X, V> where
    M: ZxMemory,
    B: BusDevice,
    X: MemoryExtension,
    V: VideoFrame
[src]

impl<M, B, X, V> Default for Ula<M, B, X, V> where
    M: Default,
    B: Default,
    X: Default
[src]

impl<'de, M, B, X, V> Deserialize<'de> for Ula<M, B, X, V> where
    V: VideoFrame,
    M: Deserialize<'de>,
    B: Deserialize<'de>,
    X: Deserialize<'de>,
    V: Default
[src]

impl<M, B, X, V> EarIn for Ula<M, B, X, V> where
    V: VideoFrame
[src]

pub fn feed_ear_in<I>(
    &mut self,
    fts_deltas: I,
    max_frames_threshold: Option<usize>
) where
    I: Iterator<Item = NonZeroU32>, 
[src]

It's most optimal to be done after ensure_next_frame is called, but is not necessary.

Panics

Panics if adding the delta would exceed the TsCounter max_value (Ts::max_value() as u32 * V::HTS_COUNT as u32).

impl<A, M, B, X, V> EarInAudioFrame<A> for Ula<M, B, X, V> where
    A: Blep,
    V: VideoFrame
[src]

impl<A, M, B, X, V> EarMicOutAudioFrame<A> for Ula<M, B, X, V> where
    A: Blep,
    V: VideoFrame
[src]

impl<M, B, X, V: VideoFrame> FrameState for Ula<M, B, X, V>[src]

impl<M: ZxMemory, B, X> HostConfig for Ula<M, B, X, UlaVideoFrame>[src]

impl<M, B, X, V> Io for Ula<M, B, X, V> where
    M: ZxMemory,
    B: BusDevice,
    B::Timestamp: From<VFrameTs<V>>,
    V: VideoFrame
[src]

type Timestamp = VideoTs

This type is being used for timestamping I/O operations. See also [Clock::Timestamp].

type WrIoBreak = ()

A value of this type is returned when a break is being requested by [Io::write_io].

type RetiBreak = ()

A value of this type is returned when a break is being requested by [Io::reti].

impl<M, B, X, V> KeyboardInterface for Ula<M, B, X, V>[src]

impl<M, B, X, V> Memory for Ula<M, B, X, V> where
    M: ZxMemory,
    X: MemoryExtension,
    V: VideoFrame
[src]

type Timestamp = VideoTs

This type is being used for timestamping memory operations. See also [Clock::Timestamp].

impl<M, B, X, V> MemoryAccess for Ula<M, B, X, V> where
    M: ZxMemory,
    X: MemoryExtension
[src]

type Memory = M

type MemoryExt = X

impl<'a, M: 'a, B: 'a, X: 'a, F: 'a> MicOut<'a> for Ula<M, B, X, F> where
    F: VideoFrame
[src]

type PulseIter = MicPulseIter<Iter<'a, VideoTsData2>, F>

impl<M, B, X, V> ScreenDataProvider for Ula<M, B, X, V> where
    M: ZxMemory,
    X: MemoryExtension
[src]

impl<M, B, X, V> Serialize for Ula<M, B, X, V> where
    V: VideoFrame,
    M: Serialize,
    B: Serialize,
    X: Serialize
[src]

impl<M, B, X, V> UlaControl for Ula<M, B, X, V>[src]

impl<M, B, X, V> UlaControlExt for Ula<M, B, X, V> where
    M: ZxMemory,
    B: BusDevice,
    B::Timestamp: From<VFrameTs<V>>,
    V: VideoFrame
[src]

impl<'a, M, B, X, V> UlaPlusInner<'a> for Ula<M, B, X, V> where
    M: ZxMemory,
    X: MemoryExtension,
    V: VideoFrame
[src]

type ScreenSwapIter = Empty<VideoTs>

impl<M: ZxMemory, D, X, V: VideoFrame> Video for Ula<M, D, X, V>[src]

type VideoFrame = V

The type implementing VideoFrame, that is being used by the chipset emulator.

type Contention = UlaMemoryContention

The type implementing MemoryContention, that is being used by the chipset emulator.

Auto Trait Implementations

impl<M, B, X, V> RefUnwindSafe for Ula<M, B, X, V> where
    B: RefUnwindSafe,
    M: RefUnwindSafe,
    V: RefUnwindSafe,
    X: RefUnwindSafe
[src]

impl<M, B, X, V> Send for Ula<M, B, X, V> where
    B: Send,
    M: Send,
    V: Send,
    X: Send
[src]

impl<M, B, X, V> Sync for Ula<M, B, X, V> where
    B: Sync,
    M: Sync,
    V: Sync,
    X: Sync
[src]

impl<M, B, X, V> Unpin for Ula<M, B, X, V> where
    B: Unpin,
    M: Unpin,
    V: Unpin,
    X: Unpin
[src]

impl<M, B, X, V> UnwindSafe for Ula<M, B, X, V> where
    B: UnwindSafe,
    M: UnwindSafe,
    V: UnwindSafe,
    X: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<S, T> IntoSample<S> for T where
    S: FromSample<T>, 
[src]

impl<T> LoadScr for T where
    T: ScreenDataProvider
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<B, U> UlaAudioFrame<B> for U where
    B: Blep,
    U: AudioFrame<B> + EarMicOutAudioFrame<B> + EarInAudioFrame<B> + AyAudioFrame<B>, 
[src]

impl<U> UlaCommon for U where
    U: UlaControl + FrameState + ControlUnit + MemoryAccess + Video + KeyboardInterface + EarIn + for<'a> MicOut<'a>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,