Struct libnoentiendo::memory::Mos6510Port
source · pub struct Mos6510Port { /* private fields */ }
Expand description
Represents the port built into a MOS 6510 processor, mapped to memory addresses 0x0000 (for the DDR) and 0x0001 (for the port itself).
Implementations§
Trait Implementations§
source§impl Memory for Mos6510Port
impl Memory for Mos6510Port
source§fn read(&mut self, address: u16) -> u8
fn read(&mut self, address: u16) -> u8
Read a byte from this memory at the given address.
Implementations may trigger side effects as a result of this read.
source§fn write(&mut self, address: u16, value: u8)
fn write(&mut self, address: u16, value: u8)
Write a byte to this memory at the given address.
Auto Trait Implementations§
impl !RefUnwindSafe for Mos6510Port
impl !Send for Mos6510Port
impl !Sync for Mos6510Port
impl Unpin for Mos6510Port
impl !UnwindSafe for Mos6510Port
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more