[][src]Trait emulator::bus::Bus

pub trait Bus {
    fn read(&self, address: u8) -> Result<u8>;
fn write(&self, address: u8, value: u8) -> Result<()>; }

Bus of the 2i.

Represents an interface of the 2i bus with 8 bit data and addressing.

Required methods

fn read(&self, address: u8) -> Result<u8>

fn write(&self, address: u8, value: u8) -> Result<()>

Loading content...

Implementors

impl Bus for IoRegisters[src]

impl<'a> Bus for Ram<'a>[src]

Loading content...