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

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

Specialized ULA functionality access methods.

Required methods

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

Returns the state of the "late timings" mode.

pub fn set_late_timings(&mut self, late_timings: bool)[src]

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

pub fn ula128_mem_port_value(&self) -> Option<Ula128MemFlags>[src]

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

pub fn set_ula128_mem_port_value(&mut self, _value: Ula128MemFlags) -> bool[src]

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

pub fn ula3_ctrl_port_value(&self) -> Option<Ula3CtrlFlags>[src]

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

pub fn set_ula3_ctrl_port_value(&mut self, _value: Ula3CtrlFlags) -> bool[src]

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

pub fn scld_ctrl_port_value(&self) -> Option<ScldCtrlFlags>[src]

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

pub fn set_scld_ctrl_port_value(&mut self, _value: ScldCtrlFlags) -> bool[src]

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

pub fn scld_mmu_port_value(&self) -> Option<u8>[src]

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

pub fn set_scld_mmu_port_value(&mut self, _value: u8) -> bool[src]

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

pub fn ulaplus_reg_port_value(&self) -> Option<UlaPlusRegFlags>[src]

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

pub fn set_ulaplus_reg_port_value(&mut self, _value: UlaPlusRegFlags) -> bool[src]

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

pub fn ulaplus_data_port_value(&self) -> Option<u8>[src]

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

pub fn set_ulaplus_data_port_value(&mut self, _value: u8) -> bool[src]

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