[][src]Trait spectrusty::chip::UlaControl

pub trait UlaControl {
    fn has_late_timings(&self) -> bool;
fn set_late_timings(&mut self, late_timings: bool); fn ula128_mem_port_value(&self) -> Option<Ula128MemFlags> { ... }
fn set_ula128_mem_port_value(&mut self, _value: Ula128MemFlags) -> bool { ... }
fn ula3_ctrl_port_value(&self) -> Option<Ula3CtrlFlags> { ... }
fn set_ula3_ctrl_port_value(&mut self, _value: Ula3CtrlFlags) -> bool { ... }
fn scld_ctrl_port_value(&self) -> Option<ScldCtrlFlags> { ... }
fn set_scld_ctrl_port_value(&mut self, _value: ScldCtrlFlags) -> bool { ... }
fn scld_mmu_port_value(&self) -> Option<u8> { ... }
fn set_scld_mmu_port_value(&mut self, _value: u8) -> bool { ... }
fn ulaplus_reg_port_value(&self) -> Option<UlaPlusRegFlags> { ... }
fn set_ulaplus_reg_port_value(&mut self, _value: UlaPlusRegFlags) -> bool { ... }
fn ulaplus_data_port_value(&self) -> Option<u8> { ... }
fn set_ulaplus_data_port_value(&mut self, _value: u8) -> bool { ... } }

Specialized ULA functionality access methods.

Required methods

fn has_late_timings(&self) -> bool

Returns the state of the "late timings" mode.

fn set_late_timings(&mut self, late_timings: bool)

Sets the "late timings" mode on or off.

In this mode interrupts are being requested just one T-state earlier than normally. This results in all other timings being one T-state later.

Loading content...

Provided methods

fn ula128_mem_port_value(&self) -> Option<Ula128MemFlags>

Returns the last value sent to the memory port 0x7FFD if supported.

fn set_ula128_mem_port_value(&mut self, _value: Ula128MemFlags) -> bool

Sets the current value of the memory port 0x7FFD. Returns true if supported. Otherwise, returns false and no writing is performed.

fn ula3_ctrl_port_value(&self) -> Option<Ula3CtrlFlags>

Returns the last value sent to the memory port 0x1FFD if supported.

fn set_ula3_ctrl_port_value(&mut self, _value: Ula3CtrlFlags) -> bool

Sets the current value of the memory port 0x1FFD. Returns true if supported. Otherwise, returns false and no writing is performed.

fn scld_ctrl_port_value(&self) -> Option<ScldCtrlFlags>

Returns the last value sent to the memory port 0xFF.

fn set_scld_ctrl_port_value(&mut self, _value: ScldCtrlFlags) -> bool

Sets the current value of the memory port 0xFF. Returns true if supported. Otherwise, returns false and no writing is performed.

fn scld_mmu_port_value(&self) -> Option<u8>

Returns the last value sent to the memory port 0xF4.

fn set_scld_mmu_port_value(&mut self, _value: u8) -> bool

Sets the current value of the memory port 0xF4. Returns true if supported. Otherwise, returns false and no writing is performed.

fn ulaplus_reg_port_value(&self) -> Option<UlaPlusRegFlags>

Returns the last value sent to the register port 0xBF3B.

fn set_ulaplus_reg_port_value(&mut self, _value: UlaPlusRegFlags) -> bool

Sets the current value of the memory port 0xBF3B. Returns true if supported. Otherwise, returns false and no writing is performed.

fn ulaplus_data_port_value(&self) -> Option<u8>

Returns the last value sent to the data port 0xFF3B.

fn set_ulaplus_data_port_value(&mut self, _value: u8) -> bool

Sets the current value of the memory port 0xFF3B. Returns true if supported. Otherwise, returns false and no writing is performed.

Loading content...

Implementors

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

impl<B, X> UlaControl for Ula3<B, X>[src]

impl<B, X> UlaControl for Ula128<B, X>[src]

impl<M, B, X, V> UlaControl for Scld<M, B, X, V> where
    M: PagedMemory8k,
    V: VideoFrame
[src]

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

Loading content...