[hatari-devel] BITS demo : thread from atari forum

Nicolas Pomarède npomarede at corp.free.fr
Mon Jul 11 21:35:46 CEST 2011


Le 11/07/2011 19:12, Anders Eriksson a écrit :
> On Sun, 10 Jul 2011, Nicolas Pomarède wrote:
>
>> the following line from devpac :
>>
>> move.b $ff8260,d0
>>
>> do you always get a value 0 or 1 depending on your res ? I'm pretty
>> sure I get $fc or $fd under my STF.
>
> Hi,
>
> I'm really shit with debuggers so I made a little program that does 2000
> reads and store them in a binary file. Surely my STe and Hatari did not
> output the same value. Maybe I did bug?
>
> Here is the program with results:
>
> http://ae.dhs.nu/tmp/restst.zip

Thanks, whatever the method, it's the result which matters :)

In that case, I see bits 2-7 are really 0 on STE, so I will modify 
video.c to set bits 2-7 to 1 only on STF.

This will fix running bits #54, but only in STE mode, even if the demo 
doesn't use anything STE specific.

It won't run in STF mode, because of the bad resolution test made in 
this demo, I can't correct that, it would break STF mode (such as 
awesome menu #16)

Nicolas



More information about the hatari-devel mailing list