[][src]Struct spectrusty::chip::plus::UlaPlus

pub struct UlaPlus<U: Video> { /* fields omitted */ }

Provides ULAplus screen and color modes for Ula, Ula128 and Ula3.

Implementations

impl<'a, U> UlaPlus<U> where
    U: UlaPlusInner<'a>, 
[src]

pub fn can_read_scld_mode(&mut self) -> bool[src]

Returns true if reading the 0xFF port returns the previous write or false if bus data is being read.

pub fn enable_reading_scld_mode(&mut self, enable_reading: bool)[src]

Determines if reading the 0xFF port returns the previous write or bus data.

pub fn is_ulaplus_enabled(&self) -> bool[src]

Returns true if ULAplus modes and ports are enabled or false otherwise.

pub fn enable_ulaplus_modes(&mut self, enable: bool)[src]

Controls the ULAplus ports and graphics availability.

When disabled, ULAplus ports become available to the underlying devices and the screen and color modes are being reset to the default. However, palette entries are left unmodified. The last register port value written is also left unmodified.

When enabled, ULAplus ports become responsive again but the screen mode is not restored unless it has been previously written to 0xFF port. In this instance the screen mode gets restored from the last value written to 0xFF port. The color mode is always being restored.

pub fn render_mode(&self) -> RenderMode[src]

Returns the current rendering mode.

pub fn source_mode(&self) -> SourceMode[src]

Returns the current source mode.

pub fn ulaplus_palette(&self) -> &UlaPlusPalette[src]

Returns the current palette view.

pub fn ulaplus_palette_mut(&mut self) -> &mut UlaPlusPalette[src]

Returns the mutable reference to the current palette.

Trait Implementations

impl<A, U> AudioFrame<A> for UlaPlus<U> where
    A: Blep,
    U: Video + AudioFrame<A>, 
[src]

impl<A, U> AyAudioFrame<A> for UlaPlus<U> where
    A: Blep,
    U: Video + AyAudioFrame<A>, 
[src]

impl<U: Clone + Video> Clone for UlaPlus<U> where
    U::VideoFrame: Clone,
    U::VideoFrame: Clone
[src]

impl<U, B, X> ControlUnit for UlaPlus<U> where
    U: for<'a> UlaPlusInner<'a> + ControlUnit<BusDevice = B> + UlaControlExt + MemoryAccess<MemoryExt = X> + Memory<Timestamp = VideoTs> + Io<Timestamp = VideoTs, WrIoBreak = (), RetiBreak = ()>,
    B: BusDevice,
    B::Timestamp: From<VFrameTs<U::VideoFrame>>,
    X: MemoryExtension
[src]

type BusDevice = U::BusDevice

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

impl<U> Debug for UlaPlus<U> where
    U: Debug + Video
[src]

impl<U> Default for UlaPlus<U> where
    U: Video + Default
[src]

impl<'de, U: Video> Deserialize<'de> for UlaPlus<U> where
    U: Deserialize<'de>, 
[src]

impl<U> EarIn for UlaPlus<U> where
    U: Video + EarIn
[src]

impl<A, U> EarInAudioFrame<A> for UlaPlus<U> where
    A: Blep,
    U: Video + EarInAudioFrame<A>, 
[src]

impl<A, U> EarMicOutAudioFrame<A> for UlaPlus<U> where
    A: Blep,
    U: Video + EarMicOutAudioFrame<A>, 
[src]

impl<U: HostConfig + Video> HostConfig for UlaPlus<U>[src]

impl<U> InnerAccess for UlaPlus<U> where
    U: Video
[src]

type Inner = U

impl<'a, U> Io for UlaPlus<U> where
    U: UlaPlusInner<'a> + Io<Timestamp = VideoTs, WrIoBreak = (), RetiBreak = ()>, 
[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<U> KeyboardInterface for UlaPlus<U> where
    U: Video + KeyboardInterface
[src]

impl<'a, U> Memory for UlaPlus<U> where
    U: UlaPlusInner<'a> + Memory<Timestamp = VideoTs>, 
[src]

type Timestamp = VideoTs

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

impl<U> MemoryAccess for UlaPlus<U> where
    U: Video + MemoryAccess
[src]

type Memory = U::Memory

type MemoryExt = U::MemoryExt

impl<'a, U: 'a> MicOut<'a> for UlaPlus<U> where
    U: Video + MicOut<'a>, 
[src]

type PulseIter = <U as MicOut<'a>>::PulseIter

impl<'a, U> ScreenDataProvider for UlaPlus<U> where
    U: UlaPlusInner<'a>,
    Self: Video
[src]

impl<U: Video> Serialize for UlaPlus<U> where
    U: Serialize
[src]

impl<'a, U> UlaControl for UlaPlus<U> where
    U: UlaControl + UlaPlusInner<'a>, 
[src]

impl<U> UlaControlExt for UlaPlus<U> where
    U: for<'a> UlaPlusInner<'a> + ControlUnit + UlaControlExt
[src]

impl<U> Video for UlaPlus<U> where
    U: for<'a> UlaPlusInner<'a>, 
[src]

type VideoFrame = U::VideoFrame

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

type Contention = U::Contention

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

Auto Trait Implementations

impl<U> RefUnwindSafe for UlaPlus<U> where
    U: RefUnwindSafe,
    <U as Video>::VideoFrame: RefUnwindSafe
[src]

impl<U> Send for UlaPlus<U> where
    U: Send,
    <U as Video>::VideoFrame: Send
[src]

impl<U> Sync for UlaPlus<U> where
    U: Sync,
    <U as Video>::VideoFrame: Sync
[src]

impl<U> Unpin for UlaPlus<U> where
    U: Unpin
[src]

impl<U> UnwindSafe for UlaPlus<U> where
    U: UnwindSafe,
    <U as Video>::VideoFrame: 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<U, I> FrameState for U where
    U: InnerAccess<Inner = I>,
    I: FrameState
[src]

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>,