I've some trouble emulating the PPU in my
emulator and hope that I can get some help
and clarifications on some things from you guys here.
1)
How does bit 3-4 in PPU register $2001 work?
I understand that they control if background/sprites
should be rendered, but how do they effect the PPU?
They seem to effect PPU's memory reads and if the
address (Loopy_v) should be updated with the temp
address (Loopy_t).
What is done and what is not done by the PPU
depending on how these bits are set?
2)
When is the VBlank flag set (bit 7 in $2002)?
Is it on the last cycle in the scanline after
the 240 visible or on the first cycle in PPU's
VBlank period?
Is NMI generated at the same cycle the flag is set?
3)
At which cycle in the dummy scanline is the PPU address
(Loopy_v) loaded with the temp address (Loopy_t)?
Any help appreciated.
emulator and hope that I can get some help
and clarifications on some things from you guys here.
1)
How does bit 3-4 in PPU register $2001 work?
I understand that they control if background/sprites
should be rendered, but how do they effect the PPU?
They seem to effect PPU's memory reads and if the
address (Loopy_v) should be updated with the temp
address (Loopy_t).
What is done and what is not done by the PPU
depending on how these bits are set?
2)
When is the VBlank flag set (bit 7 in $2002)?
Is it on the last cycle in the scanline after
the 240 visible or on the first cycle in PPU's
VBlank period?
Is NMI generated at the same cycle the flag is set?
3)
At which cycle in the dummy scanline is the PPU address
(Loopy_v) loaded with the temp address (Loopy_t)?
Any help appreciated.