Color Combinations

A project log for XORYA - extremely low cost game console on PIC32

XORYA game console is just one chip PIC32MX170F256B (32-bit MIPS core, 256K flash, 64K data mem) in DIP28 package and a few other components

SHAOSSHAOS 05/15/2015 at 23:362 Comments

Experiment with color combination with chess board mixing:

This is simulation in DOSBox on PC:

PIC32 on NTSC TV - palette 0:

PIC32 on NTSC TV - palette 1:

PIC32 on NTSC TV - palette 2:

PIC32 on NTSC TV - palette 3:

Source code:


SHAOS wrote 05/16/2015 at 23:54 point

Also DOSBox can't properly simulate some color combinations for example 0001 and 1000 combination turned on NTSC to something similar to 1001 (green), but DOSBox is still showing mix of green and blue pixels...

  Are you sure? yes | no

SHAOS wrote 05/16/2015 at 09:38 point

If you compare 1st image (DOSBox CGA composite simulation) with 2nd (actual NTSC palette 0) you can see that NTSC interprets colors on diagonal from lower-left to upper-right corners as gray most likely because of "comb filter" in modern TVs (when every scanline is combined with previous 1 or 2 scanlines to avoid color artifacts).

  Are you sure? yes | no