[hatari-devel] Hatari interrupts still assert, if VDI mode is used
npomarede at corp.free.fr
npomarede at corp.free.fr
Wed Aug 12 00:33:49 CEST 2009
On Tue, 11 Aug 2009, Eero Tamminen wrote:
> Hi,
>
> On Tuesday 11 August 2009, npomarede at corp.free.fr wrote:
>>> Or try just some more normal screen size:
>>> hatari --machine st -s 4 --vdi-planes 1--vdi-width 640 --vdi-height
>>> 400
>>>
>>> The colors are inversed.
>>>
>>> If I start things with "--vdi-planes 4" the whole screen is black.
>>>
>>>
>>> I quickly tested and this worked fine at least with Hatari v1.0.1.
>>>
>>> (When using regular TOS instead of EmuTOS the Atari bootup logo looks
>>> crappy, but they work otherwise.)
>>
>> I'm not really familiar with VDI, but at 1st sight, I don't see how the
>> interrupt changes in video.c could be related and create such bitmap
>> shifting.
>
> Sorry, I wasn't clear. The issue is that the colors are inversed in mono
> although they shouldn't.
Ah ok, I see the problem, I wasn't shocked by the color problem, I thought
it was a result of VDI in general.
It's true colors are not inverted with hatari 1.1.0, but I don't really
know the cause. I tried to change only interrupt handling with latest
video.c, not colors.
Maybe Thomas has an idea ? An entry in HBLPalettes[] that would not be
correct ?
> 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 ?
Nicolas
More information about the hatari-devel
mailing list