Skip to main content

Module read2007_diag

Module read2007_diag 

Source
Expand description

Diagnostic: capture the (frame, scanline, dot, mask) of $2007 reads to pin where the $2007 Stress test’s per-dot reads land vs the visible scanline they target. Gated; default build unaffected.

Statics§

IDX
Next free slot (count of captured $2007 reads).
LOG
Packed: ((scanline+1)<<18) | (dot<<5) | (rendering_enabled<<1) | is_render.
RENDER_BUFFER_DEFER_V_INC
Sub-knob: defer the $2007 v-glitch increment to the TStep dot.
RENDER_BUFFER_DOT_DELAY
Tunable PPU-dot countdown: $2007 read-during-rendering to reload.