PAL chroma merging?
Moderator: Moderators
Re: PAL chroma merging?
I threw together another small test:
Emulator screenshot (Nestopia): Photo of my TV screen (Samsung HDTV): EDIT: Changed test to NROM, seems I made it MMC1 by mistake.
This test simply has a palette of 3 colors (+ black background) and displays all 9 possible combinations. In this case the palette is $21, $26, $2B.Emulator screenshot (Nestopia): Photo of my TV screen (Samsung HDTV): EDIT: Changed test to NROM, seems I made it MMC1 by mistake.
Last edited by thefox on Fri Sep 05, 2014 8:49 pm, edited 1 time in total.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
- OneCrudeDude
- Posts: 276
- Joined: Fri Aug 23, 2013 2:14 am
Re: PAL chroma merging?
Sorry for the bump, but a few questions:
How would this look on a CRT? Given the NES was designed to be played on a CRT, it seems like a fitting question to ask.
Is this 'trick' exclusive to the PAL region? Or could it be reproduced on NTSC systems/TVs as well?
How would this look on a CRT? Given the NES was designed to be played on a CRT, it seems like a fitting question to ask.
Is this 'trick' exclusive to the PAL region? Or could it be reproduced on NTSC systems/TVs as well?
Re: PAL chroma merging?
CRT vs LCD is orthogonal to the question I've posed here. Only after the incoming signal is converted to RGB do the differences between LCD and CRT matter.OneCrudeDude wrote:How would this look on a CRT?
In practice, it's exclusive to PAL. PAL specifies color recovery by using a delay line of precise length and using the additive and subtractive interference between the current and delayed color signals, while NTSC specifies color recovery by using a PLL to demodulate QAM and different bandwidths for the orange-vs-blue and green-vs-purple axes.Is this 'trick' exclusive to the PAL region?
A few modern NTSC sets add a comb filter to attempt to exchange some vertical color resolution in exchange for horizontal, but the results are harder to predict, vary more from set to set, and may sometimes be disabled for sufficiently non-standards-compliant inputs (such as from a NES). TVs that use a "3d" comb filter would be ludicrously difficult to drive in a predictive fashion, especially given the NES's limited palette.
Re: PAL chroma merging?
The results are (mostly) the same on my CRT. There are some rare color combinations that the CRT and HDTV don't seem to agree on, IIRC one of them produced a greyish tone on my HDTV, but some actual color on my CRT. Probably a detail of how the filter is implemented.OneCrudeDude wrote:How would this look on a CRT? Given the NES was designed to be played on a CRT, it seems like a fitting question to ask.
...
Does anybody have a good idea how the chroma merging could be simulated in AviSynth? I guess it should be something like 1) convert to YUV (or YCbCr, strictly speaking) 2) separate the Y, U and V planes 3) scale the U and V planes by 0.5, and blend them with a shifted version of themselves 4) combine back to YUV.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: PAL chroma merging?
Using the frames from the video you'd posted, I did the following in gimp:thefox wrote:Does anybody have a good idea how the chroma merging could be simulated in AviSynth? I guess it should be something like 1) convert to YUV (or YCbCr, strictly speaking) 2) separate the Y, U and V planes 3) scale the U and V planes by 0.5, and blend them with a shifted version of themselves 4) combine back to YUV.
- Rescale nearest-neighbor down to 288 scanlines high
- Colors / Components / Decompose / YCbCr ITU R470
- Select the Cb layer; Filters / Generic / Convolution Matrix / the matrix that looks like
Code: Select all
0 0 0 0 0
0 0 1 0 0
0 0 1 0 0
0 0 0 0 0
0 0 0 0 0
- Repeat the same for the Cr layer
- Colors / Components / Compose / YCbCr ITU R470 Is this consistent with what you see?
I'd also tried using a diagonal delay (the NES's scanline is too long), but I didn't really notice an appreciable difference. I guess any difference probably requires that it operate on the modulated chroma signal, not the baseband components.
Re: PAL chroma merging?
Not sure if related, but I noticed that when playing Batman on PAL NES (CRT TV), in the very beginning of level 2-1 parts of the background graphics changed colors as the screen scrolled vertically (when jumping up to the platforms with wall jump, and coming down again).
Has anybody else from PAL land noticed the same happening with Batman?
Has anybody else from PAL land noticed the same happening with Batman?
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: PAL chroma merging?
I didn't notice that with Batman, but I clearly remembering seeing that in Kid Icarus. It changed so much I was sure the game wrote to the colour emphasis bits, before verifying in an emulator that actually it doesn't.
Re: PAL chroma merging?
You could get around it if you only scrolled vertically in increments of 2. That'd fix background flashing, but sprites would still have the same issue unless you locked their (display) Y position to increments of 2 as well. I don't think this would have a HUGE effect on gameplay.
Re: PAL chroma merging?
Yeah I tested Kid Icarus now as well, and it's very noticeable there right from the beginning.Bregalad wrote:I didn't notice that with Batman, but I clearly remembering seeing that in Kid Icarus. It changed so much I was sure the game wrote to the colour emphasis bits, before verifying in an emulator that actually it doesn't.
I'm surprised I haven't seen this mentioned anywhere before.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: PAL chroma merging?
Anyone willing to take a scope to the PAL NES's composite output while running test ROMs to see what signals it's really outputting?
-
- Posts: 3140
- Joined: Wed May 19, 2010 6:12 pm
Re: PAL chroma merging?
There is also an artifact on NTSC where there are false colors on color boundaries. I think it happens when a tv signal has uneven chroma sidebands. I think it's mostly an RF problem.
Re: PAL chroma merging?
Not really related, but today I noticed that the emphasis bits don't work the same on PAL NES as they do on NTSC NES. For example red emphasis on NTSC NES functions as green emphasis on PAL NES.
Haven't tested it thoroughly yet.
Haven't tested it thoroughly yet.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: PAL chroma merging?
Now that is weird!
Noah's Ark is a PAL game that uses blue emphasis combined with the grayscale bit to flood the level with water. I can't really remember if I tried that game in NTSC mode/consoles, but I've certainly never seen the water being any other color.
Noah's Ark is a PAL game that uses blue emphasis combined with the grayscale bit to flood the level with water. I can't really remember if I tried that game in NTSC mode/consoles, but I've certainly never seen the water being any other color.
- rainwarrior
- Posts: 8731
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: PAL chroma merging?
If red and green are swapped, blue might still be the same, though.