Expand description
One decode for every bus master: the 8192-entry page table (pagetable.py).
A page is 256 bytes of the 21-bit physical space. Each page has a handler; the board fills
the base map (RAM, the hardware page, an empty slot answering $FF) and a card or expansion
device claims ranges of pages, which replaces the base handler there, as the hardware does
bank by bank (a Super System Card’s RAM overrides the ROM mirror). There is no second bus master
on a PC Engine, so the CPU’s data and fetch accesses, ST0-ST2, block transfers, the
debugger’s peek and the lockstep probe all go through here.
Differences forced by Rust: a handler is a name (Handler), not an object, and the access
itself is the board’s (Board::page_read, Board::page_write), which owns what each name
stands for. release compares names where the reference compares identities.
Structs§
Enums§
- Handler
- Who answers a page.