Jump to content
IGNORED

Colors NTSC vs PAL


firestorm

Recommended Posts

In 1987 in USA standard NTSC was changed from NTSC(1953) to SMPTE "C". They changed colorimetry values for prime colors (RGB) and white point.

Is this the answer I'm looking for?

 

Here you have what I found on internet.

 

gallery_31396_730_1069.png

 

This is vectorograph of SMPTE "C" NTSC standard. Atari color 1 is at 180° of phase.

 

I found original SMPTE document with tables of phase values for NTSC color bars.

 

And vector diagram from Texas Instrument document. Pinpointing phase angles of prime colors.

 

All of this might be very useful for Altirra.

 

Interesting fact is that prime colors are not spaced 120° from each other.

All phase angles are like in Atari CGIA document(page 50-51)

I don't think so. Colorimetric values determine the actual color that they call 'red' as perceived by humans. They are mapping 'red' as defined by NTSC to a color in the xyY system as defined by CIE 1931, and doing similar for blue green and red. But colors should not change all that much. However, the actual chroma phase angles that consitute 'red' and the other primaries do not change, and a chroma amplitude of 0 is still 'white' chrominance.

Link to comment
Share on other sites

This is just picture I found on internet better look at this:

 

I calculated angles of phase rotation between RGB colors for all 3 attached documents and hope it might be significant in getting colors in Altirra right.

Red to Blue is 115.5° for Atari document(page50-51), 116° for Texas instrument and 116.4° for SMPTE.

Blue to Green is 107,9° for Atari document, 106° for Texas one and 106.4 for SMPTE

Green to RED is 136.6° for Atari document, 138° for Texas one and 137.2° for SMPTE

Difference between Texas and SMPTE might come from SMPTE being precise one. Difference between Atari and SMPTE comes possibly from difference between NTSC(1953)standard and NTSC(1987).

As you noticed primary colors are not spaced 120° from each other.

I believe that by having this data is possible to create precise model for creating Atari NTSC colors.

cgia.pdf

Texas Instruments.pdf

SMPTE tables.pdf

Link to comment
Share on other sites

  • 2 weeks later...

 

I calculated angles of phase rotation between RGB colors for all 3 attached documents and hope it might be significant in getting colors in Altirra right.

Red to Blue is 115.5° for Atari document(page50-51), 116° for Texas instrument and 116.4° for SMPTE.

Blue to Green is 107,9° for Atari document, 106° for Texas one and 106.4 for SMPTE

Green to RED is 136.6° for Atari document, 138° for Texas one and 137.2° for SMPTE

Difference between Texas and SMPTE might come from SMPTE being precise one. Difference between Atari and SMPTE comes possibly from difference between NTSC(1953)standard and NTSC(1987).

As you noticed primary colors are not spaced 120° from each other.

I believe that by having this data is possible to create precise model for creating Atari NTSC colors.

 

This is pretty much it, and exactly what I said before already. The color space definitions changed slightly over time, and so did the implementation in the TVs. The old hardware still implements the old NTSC standard, and expects the user to correct the (usually unstable) color phase of NTSC with the tint control. Newer TVs implement the new norm, TV is broadcasted digitally, so no need for a tint control, and hence colors from old systems appear partially off. There's no miracle here - the Atari circuit just has a different understanding on how the color should be coded compared to how the TV understands how it should be decoded. If you want to fix that, well, you can try to work around by adjusting the Atari color circuit to fit approximately to the HDTV color encoding (only if even approximately) or you can try to persuade your TV to use the legacy NTSC encoding, either by the tint control or some menu settings somewhere hidden in the dialogs.

  • Like 2
Link to comment
Share on other sites

 

This is pretty much it, and exactly what I said before already. The color space definitions changed slightly over time, and so did the implementation in the TVs. The old hardware still implements the old NTSC standard, and expects the user to correct the (usually unstable) color phase of NTSC with the tint control. Newer TVs implement the new norm, TV is broadcasted digitally, so no need for a tint control, and hence colors from old systems appear partially off. There's no miracle here - the Atari circuit just has a different understanding on how the color should be coded compared to how the TV understands how it should be decoded. If you want to fix that, well, you can try to work around by adjusting the Atari color circuit to fit approximately to the HDTV color encoding (only if even approximately) or you can try to persuade your TV to use the legacy NTSC encoding, either by the tint control or some menu settings somewhere hidden in the dialogs.

Thank you for understanding the problem :)

Now I'm looking for the way to implement it on Altirra emulator.

Link to comment
Share on other sites

Interesting discussion.

 

I've still got the wrong palette for the FPGA stuff (just the PAL one for both), so am looking to use a better one. Before I get round to doing the phase stuff properly in gtia...

 

I found this related thread on the 5200:

http://atariage.com/forums/topic/218439-pam-finally-gets-some-clothes/

http://atariage.com/forums/topic/216590-stella-gets-some-new-clothes/page-4?do=findComment&comment=2845568

  • Like 1
Link to comment
Share on other sites

Interesting discussion.

 

I've still got the wrong palette for the FPGA stuff (just the PAL one for both), so am looking to use a better one. Before I get round to doing the phase stuff properly in gtia...

 

I found this related thread on the 5200:

http://atariage.com/forums/topic/218439-pam-finally-gets-some-clothes/

http://atariage.com/forums/topic/216590-stella-gets-some-new-clothes/page-4?do=findComment&comment=2845568

 

Foft, thank you very much for your input.

 

So it looks like is not just only me against whole world ;)

 

After long research I found that proper color pot adjusted Atari 800/XL/XE should be as described in Atari 800 Field Service Manual. That was confirmed by Bruce from Atari Sales.

The problem is that Atari hardware needs at least 15 minutes to warm up what might be the reason wrongly adjusted computers during production process, specially XL/XE produced abroad.

 

Tomorrow I show you a pictures of colorbars from SALT test on cold machine and warmed up.

 

Phase shift from above pictures of Qix is done by monitor Phase/Hue/Color Balance setting to get color 1 Gold.

 

Now you can get proper shields color on Star Riders as described by Doug Neubauer!

Link to comment
Share on other sites

From your research do you have suggested adjustments to the Altirra palette settings for those doing emulation? Earlier you mentioned two colour schemes in use - with your current settings did you find a middle ground that works? It strikes me that different developers would just test on their own tv each with different tint settings so the settings may differ per developer.

  • Like 1
Link to comment
Share on other sites

Yes you right that is very important to get proper colors, specially when you making new game. We need color standard for NTSC and PAL. Take example of new RGB game with color off for PAL machines just because it was developed using Altirra default PAL palette.

Altirra have problem with colors because is using RGB model with prime colors spaced by 120°. Proper for NTSC prime color phase angles you can find few posts above.

 

Anyway my Altirra settings for now is hue start -35° and hue step 25.6°. and you can check few first Atari games like Star Riders(shields) or Basketball(skin tone of player brown not green) or Super Breakout(first row of bricks gold not green)...

Link to comment
Share on other sites

First picture shows SALT colorbars on Atari 800XL NTSC just switched on.

 

med_gallery_31396_730_936670.jpg

 

 

 

Second picture of the same computer after 15 minutes, please notice changes of color of bar 15.

 

med_gallery_31396_730_29912.jpg

 

So it was possible that in production process computers where color adjusted wrongly because there was not time to wait for 15 minutes...

Edited by firestorm
Link to comment
Share on other sites

Color Palette

 

I found this program in Antic magazine 6/1985. Please notice color description in this program:

 

0-Gray

1-Gold

2-Orange

3-Red

4-Pink

5-Violet

6-Purple

7-Blue

8-Cyan

9-Lt Blue

10-Turquoise

11-Blue-Grn

12-Green

13-Yllw-Grn

14-Orng-Grn

15-Lt Orange

 

med_gallery_31396_730_830402.jpg

 

 

Load program with Basic.

Antic Vol 4-02 1985-06 S2 Computer Arts.atr

Pages from Antic Vol 4-02 1985-06 Computer Arts.pdf

Edited by firestorm
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Altirra have problem with colors because is using RGB model with prime colors spaced by 120°. Proper for NTSC prime color phase angles you can find few posts above.

 

Sorry, I have to correct this.

 

Altirra has never used 120 degree spacing for the primary colors. It uses a regular YIQ decoding matrix, which puts the primaries at 77, 299, and 193 degrees in I-Q space.

Link to comment
Share on other sites

  • 3 weeks later...

Phaeron, I had pm you with question about it before your post... It is not changing fact that by default Altirra gets NTSC colors wrong. :(

 

I'm always open to changing the defaults, and have been tweaking it for 2.60. However, the statement about Altirra using 120d spaced primaries is still wrong, and I'd appreciate it if you didn't make up such "facts" about my emulator.

Link to comment
Share on other sites

You can't eyeball the colors like that to get 120 degrees. The angles are determined by the vectors in the conversion matrix. Here's the dump from Scilab:

-->A = inv([1 0.956 0.620; 1 -0.272 -0.647; 1 -1.108 1.705]); atand(A(2,, -A(3,) - 33 + [0 360 360]
 ans  =
 
    76.567359    299.27007    192.89553 

These are the values in Atari's CGIA document, to within one degree. TI's document also uses the same matrix, aside from rounding differences that make less than 0.1 degree of difference.

 

 

  • Like 3
Link to comment
Share on other sites

  • 1 year later...

Hi everybody, in July I managed to connect my Atari 800 NTSC to my parents old Sony TV from end of 80's. This is European multi system version, it can display NTSC monitor AV signal using SCART. TV setings were set to defaults which is visible on one of the pictures as small icon in left down corner of TV screen.

And what big surprise!

 

med_gallery_31396_730_1287722.jpg

 

 

med_gallery_31396_730_525307.jpg

 

 

 

NTSC ATARI 800 on old 1980's TV !!!

Edited by firestorm
  • Like 1
Link to comment
Share on other sites

  • 3 years later...
On 10/3/2014 at 6:17 PM, firestorm said:

Based on Atari 400/800 Field Service Manual, there is simple way to adjust color pot on NTSC Atari computer without using SALT cartridge. Before you try this please keep your Atari switched on to warm up for 15 minutes.

 

SETCOLOR 2,1,8 REM CHANGES BACKGROUND COLOR TO 1, PRESS RETURN

SETCOLOR 4,15,8 REM CHANGES FRAME COLOR TO 15, PRESS RETURN

 

Then adjust Atari color pot to make background and frame around the screen of the same color as possible.

Necroing this thread just to say I adjusted my NTSC 800xl color pot using this method and it worked great. Maybe it can help someone else. Thanks!

Edited by invisible kid
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...