Skip to navigation


Utility routines: WaitForVBlank

[NES version, Bank 7]

Name: WaitForVBlank [Show more] Type: Subroutine Category: Utility routines Summary: Wait for the next VBlank to pass
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MakeSoundsAtVBlank calls WaitForVBlank
.WaitForVBlank LDA PPU_STATUS ; Wait for the next VBlank to pass BPL WaitForVBlank RTS ; Return from the subroutine