Wait for sync. This address halts the microprocessor by clearing RDY latch to zero. RDY is set true again by the leading edge of horizontal blank. This register is a strobe, and data bits are not used.
WSYNC = $02
WRITE | Name | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
$02 | WSYNC | S T R O B E |
Code Example
; generate 37 scanlines ldx #37 .vBlank sta WSYNC dex bne .vBlank
Related
see TIA