pub trait PageHandler {
// Required methods
fn read(&mut self, address: u32, mclk: i64, pins: &mut BoardPins<'_>) -> u8;
fn write(
&mut self,
address: u32,
value: u8,
mclk: i64,
pins: &mut BoardPins<'_>,
);
}Expand description
Anything a range of 256-byte pages can be claimed by.
address is the 21-bit physical address after the MMU; mclk is the master-clock time of
the access, so a device may run itself up to it inside the access (the CD unit’s registers
need that).