Display brightness in ST emulators
Posted: 08 Aug 2020 15:17
Something that kept drawing my attention was that the overall brightness of the picture in STeem wasn't actually very bright. The whites look a tad dimmed, never becoming as bright as the browser window next to it on the same monitor for example.
So I took a screenshot and ran it through a histogram:
The largest spike represents the whites (the screenshot has a lot of white in it, hence the length of the spike). As you can see, the spike isn't at the top so ST-white doesn't reach full brightness in the output picture.
Apparently, ST colours are converted to PC colours by simply shifting the primary colour bits 5 positions to the left:
As a side node, by configuring STeem to emulate an STE, the desktop white becomes #F0F0F0 so the STE gives a bit brighter display in STeem.
I checked with Hatari as well and it also doesn't reach full brightness. But it gets quite a bit brighter:
The latter looks like a simple but quite effective way (copying the 4 MSB on top of the 4 LSB) to (almost) correct the problem without using much additional processing power.
So if you ask me, I'd like STeem to have an option that corrects the brightness. Obviously, I should take this to the STeem support forum on SourceForge (https://sourceforge.net/p/steemsse/forum/rest).
But first I wanted to see if any of you had noticed the same and perhaps I'm missing a perspective here... Maybe the ST doesn't output video levels at full brightness (say less than 5V on the RGB pins)?
Here's a quick wrap-up of the story in a picture:
So I took a screenshot and ran it through a histogram:
The largest spike represents the whites (the screenshot has a lot of white in it, hence the length of the spike). As you can see, the spike isn't at the top so ST-white doesn't reach full brightness in the output picture.
Apparently, ST colours are converted to PC colours by simply shifting the primary colour bits 5 positions to the left:
Code: Select all
(ST) #777 = 0111 0111 0111
Which then becomes on STeem:
#E0E0E0 (PC) = 11100000 11100000 11100000
I checked with Hatari as well and it also doesn't reach full brightness. But it gets quite a bit brighter:
Code: Select all
(ST) #777 = 0111 0111 0111
Which then becomes on Hatari:
#EEEEEE (PC) = 11101110 11101110 11101110
So if you ask me, I'd like STeem to have an option that corrects the brightness. Obviously, I should take this to the STeem support forum on SourceForge (https://sourceforge.net/p/steemsse/forum/rest).
But first I wanted to see if any of you had noticed the same and perhaps I'm missing a perspective here... Maybe the ST doesn't output video levels at full brightness (say less than 5V on the RGB pins)?
Here's a quick wrap-up of the story in a picture: