It is currently Fri Oct 20, 2017 12:11 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 9:50 am 
Offline
User avatar

Joined: Mon Jan 01, 2007 11:12 am
Posts: 203
Any *.NES file?


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 10:29 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2962
Location: Tampere, Finland
Looks like you forgot to include the binary, tepples, so here it is.


Attachments:
palphase.nes [24.02 KiB]
Downloaded 95 times

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi
Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 10:53 am 
Offline
User avatar

Joined: Mon Jan 01, 2007 11:12 am
Posts: 203
Image
Image


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 11:05 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2962
Location: Tampere, Finland
Here's a really crappy photo of my CRT TV (2C07 PPU). From what I can tell, it looks like colors match up so that evenHue = oddHue+2 (with wrap around, of course). E.g. the even scanline of $15 is the same hue as odd scanline of $13. (Looking at the TV the colors match up better than in the photo.)

Which is funny, because in HardWareMan's cap it's quite clearly evenHue = oddHue+1.


Attachments:
pal-phase-test.png
pal-phase-test.png [ 274.96 KiB | Viewed 2184 times ]

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi
Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 11:08 am 
Offline
User avatar

Joined: Sat Apr 18, 2009 4:36 am
Posts: 257
Location: Russia
It's my Dendy on PAL CRT (UA6538 PPU)


Attachments:
palphase_CRT.jpg
palphase_CRT.jpg [ 1.32 MiB | Viewed 2183 times ]
Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 11:18 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19104
Location: NE Indiana, USA (NTSC)
thefox wrote:
Looks like you forgot to include the binary

Oops, my bad. There are two places I need to change the binary's filename when I import the project template: makefile and zip.in. I forgot the latter.

So it looks like Dendy does this aspect right and PAL NES does it half-@$$, just as with the CPU clock divider. Anything I need to add in a second version of this test?


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 1:08 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6286
Location: Seattle
Ok, so:
A PAL scanline is "supposed" to be exactly 1702.5 master clock cycles, or 283.75 chroma cycles.
The 2C07 (and it looks like UA6538 also, given HardWareMan's pictures) scanlines are 1705 master clock cycles long, or 284 1/6 chroma cycles.
We see the expected repetition of phase every 6 scanlines.

What's weird is, as far as I can tell, adjacent scanlines of all hues really shouldn't be ≈the same phase, and yet they seem to be.

Maybe a useful test would be to exchange the solid grey scanlines in tepples's test with some fixed color? That way we should be able to say that hue phase X on even/odd scanlines is the same as hue phase Y/Z on odd/even scanlines? Obviously will only be visible on the luma-only signal.


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 4:09 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19104
Location: NE Indiana, USA (NTSC)
I'll take this as a feature request to let the user change the background palette between $00 and any color $11-$1C. Is that what you want?


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 4:43 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6286
Location: Seattle
Sure?
I guess that's not all that different from the original test I made, although it lets you compare more colors simultaneously.


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 5:25 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19104
Location: NE Indiana, USA (NTSC)
Exchange this.


Attachments:
File comment: Fixed missing binary; added left and right to change background color; boxes are not as tall
palphase-0.02.zip [19.01 KiB]
Downloaded 87 times
Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Sun Sep 07, 2014 10:20 pm 
Offline
User avatar

Joined: Mon Jan 01, 2007 11:12 am
Posts: 203
Here we go.
ImageImage
ImageImage
ImageImage
ImageImage
ImageImage
ImageImage
Image


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Mon Sep 08, 2014 12:14 am 
Offline

Joined: Thu Aug 12, 2010 3:43 am
Posts: 1589
thefox wrote:
Here's a really crappy photo of my CRT TV (2C07 PPU).

What did you use to take the photo? In my experience phone cameras tend to be good at taking photos of CRTs (apparently you need a crappy camera to take a good pic of a CRT, who would have thought)


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Mon Sep 08, 2014 12:41 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2962
Location: Tampere, Finland
Sik wrote:
thefox wrote:
Here's a really crappy photo of my CRT TV (2C07 PPU).

What did you use to take the photo? In my experience phone cameras tend to be good at taking photos of CRTs (apparently you need a crappy camera to take a good pic of a CRT, who would have thought)

iPhone 4

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


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Mon Sep 08, 2014 1:32 am 
Offline
User avatar

Joined: Sat Apr 18, 2009 4:36 am
Posts: 257
Location: Russia
I will upload new test pictures at evening today


Top
 Profile  
 
 Post subject: Re: PAL chroma merging?
PostPosted: Mon Sep 08, 2014 8:43 am 
Offline
User avatar

Joined: Mon Jan 01, 2007 11:12 am
Posts: 203
Well, I took out my old monitor, which is used in the 90's. Do not look at the geometric distortion - I'll fix them later. The main feature of this monitor is that it is PAL decoder built on a good old TDA3510. This "warm tube" analog PAL decoder that utilizes the 64mks delay line. Therefore, the result really depends on the content of neighboring scanlines. In the new digital decoders, each scanline can be processed separately, although Avermedia shows almost identical to TDA3510 results.
UMC UA6538:
Image
HA6538:
Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

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