|Re: [hatari-devel] Time overflow patch|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
Am Sun, 3 Nov 2013 01:13:51 -0600 (MDT)
schrieb David Savinkoff <dsavnkff@xxxxxxxxx>:
> Hi Thomas,
> I'm withdrawing the previous patch 'time.overflow.diff'
> because of a new problem that it doesn't address.
> Please apply time.overflow3.diff.
> I found that I can freeze Hatari by setting my system
> clock backwards after Hatari is started.
> 1) Start Hatari and move mouse around.
> 2) date --set='-15 minutes'
> 3) Note Hatari is frozen
> 4) date --set='+15 minutes'
> 5) Note Hatari is Ok
> Hatari did not appear to have delays due to the variables wrapping,
> however, it does when the time is set backwards. When Sint32
> variables are used, the delay is aliased on 71.58 minutes.
> time.overflow2.diff is the 'test patch' using Sint32 variables
> that wrap in 71.58 minutes. Both time.overflow2.diff and
> time.overflow3.diff fix the freezing problem.
Ok, thanks for the description, I fixed it now, but slightly different
than in your patch (without introducing another variable). Please test
whether that fixes the problem for you, too.