[hatari-devel] Hatari VDI mode colors issue
npomarede at corp.free.fr
npomarede at corp.free.fr
Fri Aug 14 00:17:30 CEST 2009
On Wed, 12 Aug 2009, Eero Tamminen wrote:
> Hi,
>
> On Wednesday 12 August 2009, npomarede at corp.free.fr wrote:
>>> Your latest version in the repo seems to have fixed things for 2 & 4
>>> planes, but the 1-plane (mono) mode shows still inversed.
>>
>> Very strange, you mean just the fact to return from Video_Sync_WriteByte
>> when bUseVDIRes is true ?
>
> So it seemed.
>
I tried to have a look at the vdi rendering code, as this could be related
to inverted colors in the palette, but vdi mode in 2 colors doesn't use
STRGBPalette[].
Shouldn't it be the case to determine if a '1' pixel is black or white
(which allows to change the color of the border) ? (well, it's not the
case either in high640x8.c but it works with "hatari -m", and the code is
nearly identical to vdi2.c, so I don't really know)
Thomas, maybe you have an idea what colors are used when in vdi mode.
Nicolas
More information about the hatari-devel
mailing list