Not as much activity here as before So I'll ask some questions
Did someone figure out exactly how the pixels are pieplined - I imagine this could affect the output results greatly.
I know Hyde had this problem but there wasn't really a clear answer.
In other words, if sprite 0 is at ppu cycle say 25, will the bit for a sprite 0 hit not happen at this time, but at:
25 + (16 - CURRENT_HORIZONTAL_SCROLL_VALUE)
??
Is this true for ANY ppu register? (Once the ppu hits vblank, it doesn't set vblank until (16 - X cycles have passed)
a 16 pixel delay is no laughing matter (although in reality that's only like one cpu instruction =]). This would also mean that the cpu will always be roughly 16 ppu cycles behind the ppu.
Also,
I'm using a stack system where writes to registers etc. are pushed on a stack. Does this mean that to every write that affects drawing I should add 16 - HORIZONTAL_SCROLL ? I.e. the writes to a register are immediate, but not for the graphics you think it should be displaying.
So the big general question of the day:
I'm at PPU cycle 15. Am I drawing the 15th pixel on the screen
Thanks
Did someone figure out exactly how the pixels are pieplined - I imagine this could affect the output results greatly.
I know Hyde had this problem but there wasn't really a clear answer.
In other words, if sprite 0 is at ppu cycle say 25, will the bit for a sprite 0 hit not happen at this time, but at:
25 + (16 - CURRENT_HORIZONTAL_SCROLL_VALUE)
??
Is this true for ANY ppu register? (Once the ppu hits vblank, it doesn't set vblank until (16 - X cycles have passed)
a 16 pixel delay is no laughing matter (although in reality that's only like one cpu instruction =]). This would also mean that the cpu will always be roughly 16 ppu cycles behind the ppu.
Also,
I'm using a stack system where writes to registers etc. are pushed on a stack. Does this mean that to every write that affects drawing I should add 16 - HORIZONTAL_SCROLL ? I.e. the writes to a register are immediate, but not for the graphics you think it should be displaying.
So the big general question of the day:
I'm at PPU cycle 15. Am I drawing the 15th pixel on the screen
Thanks