Re: [hatari-devel] Re: [hatari-devel] Re: [hatari-devel] Bug with latest releases on my Eletric night demo |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Le 26/01/2020 à 17:20, Laurent a écrit :
Hi,
I agree. The whole demo is driven by the sound samples position.
I think the MFP interruption is broken, so the sound index doesn't
change and the demo waits forever the next sound index position to swith
to the next effect.
I've written some things to you in private to help to investigate on
this problem.
Regards
Laurent
Hi
thanks for the example code you sent me ; meanwhile I looked more
closely and the problem is is fact similar to the fix I made for STE in
commit f9f1a01cea427bd77b7dc47d9dc5a0849f7a0ec4 from 11/1/2020 : the
int signal must be set to low when play stops, but it must also be set
to high when play starts (which is not the case actually).
If not then the "active edge register" will not see the transition
between play/stop and the interrupt will not trigger (previous falcon
code bypassed the AER and always triggered an interrupt when play
stopped, which is not the correct way to emulate the HW for this in the MFP)
I will send a patch for this soon to fix the issue.
Nicolas