pub trait UlaControl {
Show 14 methods 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 { ... }
}
Expand description

Specialized ULA functionality access methods.

Required Methods§

Returns the state of the “late timings” mode.

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.

Provided Methods§

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

Examples found in repository?
src/chip/plus.rs (line 286)
285
286
287
    fn ula128_mem_port_value(&self) -> Option<Ula128MemFlags> {
        self.ula.ula128_mem_port_value()
    }

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

Examples found in repository?
src/chip/plus.rs (line 290)
289
290
291
    fn set_ula128_mem_port_value(&mut self, value: Ula128MemFlags) -> bool {
        self.ula.set_ula128_mem_port_value(value)
    }

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

Examples found in repository?
src/chip/plus.rs (line 294)
293
294
295
    fn ula3_ctrl_port_value(&self) -> Option<Ula3CtrlFlags> {
        self.ula.ula3_ctrl_port_value()
    }

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

Examples found in repository?
src/chip/plus.rs (line 298)
297
298
299
    fn set_ula3_ctrl_port_value(&mut self, value: Ula3CtrlFlags) -> bool {
        self.ula.set_ula3_ctrl_port_value(value)
    }

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

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

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

Examples found in repository?
src/chip/plus.rs (line 311)
310
311
312
    fn scld_mmu_port_value(&self) -> Option<u8> {
        self.ula.scld_mmu_port_value()
    }

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

Examples found in repository?
src/chip/plus.rs (line 315)
314
315
316
    fn set_scld_mmu_port_value(&mut self, value: u8) -> bool {
        self.ula.set_scld_mmu_port_value(value)
    }

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

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

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

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

Implementors§