[hatari-devel] Some more demos that fail with 1.4

Nicolas Pomarède npomarede at corp.free.fr
Sun May 8 23:40:08 CEST 2011


Le 27/03/2011 18:22, Eero Tamminen a écrit :
> Hi,
>
> On lauantai 26 maaliskuu 2011, Nicolas Pomarède wrote:
>>> 4.
>>> Music Dream 2 / Electronic Images (Phenomena conversion)
>>> http://no-fragments.atari.org/no_fragments_01/MSA/E/EI/MSXDREM2.MSA
>>> http://pouet.net/prod.php?which=21037
>>>
>>> a) Crashes when the menu appears
>>
>> This is now fixed ; worked for me at first, but in fact that was because
>> I'm using some dma sound changes I didn't commit yet.
>> In the case of this demo, it reads $ff8909/0b/0d but the address was not
>> properly updated in Hatari.
>
> If I run this with "--fast-forward yes":
> - first the menu jumps up and down for a while
> - then screen turns red and music gets stuck in a loop,
>    and it's stuck even if I disable fast-forward.
>
> Without fast-forward it works fine.
>

I uploaded a new version that takes care of not messing with the way 
$ff8909/0b/0d are computed when exiting fast forward or pause mode 
(which should prevent the demo from randomly locking after exiting the 
F12 menu for example).

The trick is that reseting the sound buffer should only be done just 
after all the samples for a VBL were generated (else, it will reset 
CurrentSamplesNb which will cause more samples than expected to be 
generated for the VBL).

I still need to find the cause of the problem while in fast forward 
mode, as the dma sound address seems to get wrong there too.

Nicolas



More information about the hatari-devel mailing list