PPU timing

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

PPU timing

Post by Zepper »

Quick recap: my emulator runs 1 CPU cycle after 3 PPU dots. So, there's an alignment between CPU and PPU after a few cycles, you probably know.

It's not really a question, but something I noticed to be picky: if the PPU "exits" at dot 340 (meaning the CPU is going to run for one cycle), the VBlank flag must be cleared, since subsequent writes to $2000 might occur. It's quite clear on nmi_on_timing test, since it was unclear to me why a NMI should be ignored on dot zero.
Post Reply