Color difference between emulator and hardware?
Posted: Thu Aug 10, 2023 2:02 am
I have a theoretical question about the colors in the emulator vs hardware.
I know that the emulator repeats the nibble of each channel to generate a 24 bit color that is used on the desktop.
That is, the color 2F8, in the emulator it will be seen as the color 22FF88.
If we think that in 12 bits, the maximum value of a channel is F, it makes perfect sense that in 24 bits the max value of a channel is FF.
But the mean value, which is 8, should be 80 and not 88.
That small difference is what got me thinking.
I understand that the VERA chip, when generating the analog signal (VGA) of a color channel, used the 12-bit value, that is, a value of 8 should be 50% of the analog signal. or I'm wrong?
If I am correct, does it mean that the emulator has a little difference from the hardware?
To clarify, I know this difference is small and really doesn't matter when developing a game, but it got me thinking.
PS: Make it clear that I am aware that on a monitor we have external calibration and many other parameters that can influence how a color will actually look. Rather, it was a theoretical concern while studying how to convert a color palette to use in a game I'm starting to program.
I know that the emulator repeats the nibble of each channel to generate a 24 bit color that is used on the desktop.
That is, the color 2F8, in the emulator it will be seen as the color 22FF88.
If we think that in 12 bits, the maximum value of a channel is F, it makes perfect sense that in 24 bits the max value of a channel is FF.
But the mean value, which is 8, should be 80 and not 88.
That small difference is what got me thinking.
I understand that the VERA chip, when generating the analog signal (VGA) of a color channel, used the 12-bit value, that is, a value of 8 should be 50% of the analog signal. or I'm wrong?
If I am correct, does it mean that the emulator has a little difference from the hardware?
To clarify, I know this difference is small and really doesn't matter when developing a game, but it got me thinking.
PS: Make it clear that I am aware that on a monitor we have external calibration and many other parameters that can influence how a color will actually look. Rather, it was a theoretical concern while studying how to convert a color palette to use in a game I'm starting to program.