Question about MMC3's scanline counter

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
breathermachine
Posts: 20
Joined: Wed Oct 21, 2015 10:28 pm

Question about MMC3's scanline counter

Post by breathermachine »

I'm currently implementing MMC3's scanline counter and I just have a question to clarify.

If I have both sprite and BG patterns set to $0000 (meaning no transition of A12 from low to high), does the scanline counter get clocked every 2 scanlines due to increment of PPU's Fine Y on PPU clock 256? (I say every 2 scanlines because it flips between odd and even fine Y values)
User avatar
Quietust
Posts: 1786
Joined: Sun Sep 19, 2004 10:59 pm
Contact:

Re: Question about MMC3's scanline counter

Post by Quietust »

breathermachine wrote:I'm currently implementing MMC3's scanline counter and I just have a question to clarify.

If I have both sprite and BG patterns set to $0000 (meaning no transition of A12 from low to high), does the scanline counter get clocked every 2 scanlines due to increment of PPU's Fine Y on PPU clock 256? (I say every 2 scanlines because it flips between odd and even fine Y values)
No, because that fine Y bit does not appear on the address bus at A12 - it only affects A0, and even then only during pattern table fetches.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
Post Reply