Skip to main content

RENDER_BUFFER_DOT_DELAY

Static RENDER_BUFFER_DOT_DELAY 

Source
pub static RENDER_BUFFER_DOT_DELAY: AtomicU32
Expand description

Tunable PPU-dot countdown: $2007 read-during-rendering to reload.

The PPUDATA state machine reloads data_buffer from the fetch cadence (TriCNES PPU_DATA_StateMachine latch cascade: read-end -> ALE +2 -> reload +4 dots; with R1’s fixed CPU<->PPU mod-4 phase the landing is a constant offset from the register-read sample point). 0 = immediate. Default 5 = the empirical winner (W2 sweep 0-12: 5 -> 170/170 stable reads on the $2007 Stress answer key; 6/7 -> 169; everything else far below). Env knob RUSTYNES_2007_DELAY (wired in the diag bins).