Expand description
The PPU-side narrow bus trait — the SNES port of RustyNES’s PpuBus.
The PPU owns its 64 KiB VRAM, CGRAM, and OAM directly; those are NOT on this trait. This
trait is ONLY for what the PPU must reach through the cartridge: extended Mode 7 / coprocessor
reads on enhancement boards, and the board IRQ/scanline notify hooks (the notify_a12
analogues). In production, rustysnes-core implements VideoBus over the cart’s
[rustysnes_cart::Board]; in unit tests a tiny in-memory impl suffices.
Structs§
- Null
Video Bus - A no-op
VideoBusfor unit-testing the PPU in isolation (the one-directional graph is what makes per-chip testing possible).
Traits§
- Video
Bus - The narrow bus interface the PPU sees. Every method has a default so a minimal test impl
(
struct DummyBus; impl VideoBus for DummyBus {}) compiles.