The PPU mask register controls whether the NES PPU renders the screen. During the NMI routine, clearing it disables rendering while larger video-memory updates are performed. section 5.13
A rendering update uses the register in two stages:
- Write zero to PPU_MASK when nmi_ready equals 2, stopping screen drawing before video-memory changes. section 5.13
