nesdev.com
http://forums.nesdev.com/

Perspective
http://forums.nesdev.com/viewtopic.php?f=2&t=18
Page 1 of 1

Author:  teaguecl [ Tue Oct 26, 2004 5:09 pm ]
Post subject:  Perspective

I was looking at the PPU patent, US patent 5,125,671. I noticed that in Fig. 2 of that document, they consider the horizontal blanking period to be at the beginning of a scanline instead of at the end. I realize this is just anohter way of looking at how things work, but this way might be less confusing. Under this scheme, there no longer is "prefetching" of data for the next scanline. Instead this fetching is done during the HBLANK of the current scanline, which happens before the render. This seems like it could reduce some of the confusion involved with the pixel pipeline. Although I am uncertain how they account for scanline 1 not having an HBLANK period. Anyway, seemed interesting and so I thought I would throw it out here.

Author:  tepples [ Tue Oct 26, 2004 6:13 pm ]
Post subject:  Re: Perspective

teaguecl wrote:
they consider the horizontal blanking period to be an the beginning of a scanline instead of at the end.

The Atari 2600 console considers hblank to start a scanline as well. The GBA, on the other hand, follows the opposite convention, which causes no end of "what's the deal with the first scanline?" questions when newbies discover hblank DMA.

Author:  Quietust [ Tue Oct 26, 2004 7:21 pm ]
Post subject: 

The NES PPU itself considers hblank to end the scanline, especially if you look at its memory fetch patterns (each scanline ends with half a memory access) and when it sets/clears the flags in $2002 (the beginning of scanlines 241 and 0, respectively).

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/