It is currently Wed Dec 13, 2017 9:33 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Jan 12, 2013 8:52 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19342
Location: NE Indiana, USA (NTSC)
I've used the terminology "at x=256". Is that unambiguous?


Top
 Profile  
 
PostPosted: Sat Jan 12, 2013 10:01 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10164
Location: Rio de Janeiro - Brazil
tepples wrote:
I've used the terminology "at x=256". Is that unambiguous?

That would be the 257th pixel, right?


Top
 Profile  
 
PostPosted: Sat Jan 12, 2013 10:38 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5896
Location: Canada
I kinda wondered why we didn't start numbering at the left edge of the screen/signal. I don't know exactly what clock it's on, but there's a region at the start of the line before it starts rendering any sprite or nametable pixels that it will output the background colour.


Top
 Profile  
 
PostPosted: Sat Jan 12, 2013 11:03 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19342
Location: NE Indiana, USA (NTSC)
Probably because the earliest we can detect within the scanline with sprite 0 is x=0 (the first rendered pixel).


Top
 Profile  
 
PostPosted: Sun Jan 13, 2013 3:52 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3968
Because of NMI, that's what defined pixel 0.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Sun Jan 13, 2013 4:15 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2982
Location: Tampere, Finland
Yeah, the left border of the very first rendered scanline is the hblank of the pre-render scanline.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi


Top
 Profile  
 
PostPosted: Sun Jan 13, 2013 6:52 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
That's the point I disagree. Anyway, here my last $0.02:

a) Is there a special reason for using the word "dot" instead of "cycle"?
b) The word "pixel" would count effective pixels from 1, and not from zero.

I suggest to abandon the usage of "dot" as "ppu cycles"; just "cycle" is good enough, and it counts from zero. When saying "pixel", it's always from 1.

tepples wrote:
I've used the terminology "at x=256". Is that unambiguous?


Since x can be zero, you mean the 257th rendered pixel.

_________________
Zepper
RockNES developer


Top
 Profile  
 
PostPosted: Sun Jan 13, 2013 7:16 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19342
Location: NE Indiana, USA (NTSC)
Does "cycle" refer to CPU cycles (1.8 MHz), PPU cycles (5.4 MHz), or master clock cycles (21.5 MHz)? "Dot" is less ambiguous. I seem to remember someone finally nailing down the terminology as "cycles" for the CPU, "dots" or "pixels" for the PPU, and "clocks" for the master clock. As for "dot" vs. "pixel", I'll look into that too.

EDIT: It was this post by blargg.
The term "dot clock" is used in an X server HOWTO.


Top
 Profile  
 
PostPosted: Sun Jan 13, 2013 10:14 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
To me dots are the timebase of the PPU, while pixels are the dots that actually paint something on screen, though I suppose that the video signal is always outputting something for every dot, like the background color, or the sync pulse. I think most people refer to only 256 of the 341 dots of a scanline as pixels.

The benefit of "dot" over "ppu cycle" is that the latter is more verbose, not entirely clear, and will be shortened to "cycle" in discussion, which might then be confused with the CPU.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group