[][src]Trait zinc64_core::Addressable

pub trait Addressable {
    fn read(&self, address: u16) -> u8;
fn write(&mut self, address: u16, value: u8); }

Addressable represents a bank of memory.

Required methods

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

Read byte from the specified address.

fn write(&mut self, address: u16, value: u8)

Write byte to the specified address.

Loading content...

Implementors

Loading content...