pub trait MemoryExtension: Debug {
    fn read_opcode<M>(&mut self, pc: u16, memory: &mut M) -> u8
    where
        M: ZxMemory
, { ... } }
Expand description

An interface for memory paging extensions of ZxMemory.

Provide an implementation as the associated type crate::chip::MemoryAccess::MemoryExt.

Provided Methods§

Read op-code from the given memory at the given pc address, optionally altering provided memory.

Implementors§