[hatari-devel] Hatari VDI mode colors issue

Thomas Huth huth at users.berlios.de
Fri Aug 14 23:17:13 CEST 2009


On Fri, 14 Aug 2009 23:04:25 +0300
Eero Tamminen <eerot at users.berlios.de> wrote:

> On Friday 14 August 2009, Eero Tamminen wrote:
> > While monochrome and 4 planes modes are now fine, something's still
> > broken in 2 planes mode.  Try:
> >   ./hatari --machine st -s 4 --vdi-planes 2 --vdi-width 320
> > --vdi-height 200 --tos etos512k.img -d .
> >
> > With Hatari v1 it looks fine, with current Hatari  it looks broken
> > like in the attached screenshot.
> >
> > Funny thing is that if I use Falcon or TT emulation, it looks fine
> > in current Hatari too.
> 
> And using normal TOS works too.  Only Emutos + ST or STE mode + 2
> planes mode is broken (compared to Hatari v1).

Looks like a bug in EmuTOS... seems like it does not mask out the upper
bits when reading 0xff8260 ... uncomment the last two lines of
Video_ShifterMode_ReadByte() in Hatari, then it works again.
However, since Video_ShifterMode_ReadByte() now mimics the behaviour of
an original Atari ST, it's not the fault of Hatari, it's the fault of
EmuTOS.

 Thomas



More information about the hatari-devel mailing list