[][src]Trait zinc64_core::Mmu

pub trait Mmu {
    fn map(&self, address: u16) -> Bank;
fn switch_banks(&mut self, mode: u8); }

Represents memory management unit which controls visible memory banks.

Required methods

fn map(&self, address: u16) -> Bank

Map address to currently mapped in memory bank.

fn switch_banks(&mut self, mode: u8)

Change bank configuration based on the specified mode.

Loading content...

Implementors

Loading content...