Re: [hatari-devel] Hatari Falcon 060 emulation observations |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Maciej Moczkowski <maciekmoczkowski@xxxxxxxxx>
- Subject: Re: [hatari-devel] Hatari Falcon 060 emulation observations
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Thu, 8 Nov 2018 22:45:13 +0100
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1541713514; bh=HOhnNU7nUt0U9fM3dDyRu3W8JVxQEIpgA3nJqNHZkFA=; h=Date:From:To:Cc:Subject:From; b=ODjirqL9lB9u0hlTsEBvhoK7IWxVXWhL02p9wi312y9UdxoY5BMUOSwcF6jC4T8N5 vF4PtirWr+6UpQHh/ObFVQKI5qCKVnsvH9mB5lrt4imAeEBQtINaKJJMaDo96myCFf MZ69VVjev/hymSOaM3rm/JVciBhDzKwjbQ0MKPr7l3aF9i/VO95uer4RCv6XLRShTB +t0Ptw6IqyLYwYNRZQ24NTXRDZ/Q8NjtjXdK/x1WlCh1nzLm0zMTJwNhrC9PLymXv7 GH0XPoXoBNNxkLq2y7/5bgFQexMQo2E50J0qW+o5Z6RtCvUTDRSxAbQ8rRiMMhsqD7 oHqWi/9mv/6gQ==
Am Thu, 8 Nov 2018 18:14:49 +0100
schrieb Maciej Moczkowski <maciekmoczkowski@xxxxxxxxx>:
> Hi,
> I am Maciej (MKM/Lamers) and just subscribed after AdamK told me about
> ongoing thread related to our new demo:
> https://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2018/11/msg00008.html
>
> I had few general problems I found during last demos development that
> might be helpful for hatari team:
> 1) FPU emulation and opcodes that disappeared in 060
>
> While doing LCF and SV2K18 Invitation and F22.0 I never succeeded to
> work on any newer hatari version than 1.9.0. Hatari 1.9.0 had a
> "fortunate bug" that internal 060 FPU emulation still included FPU
> opcodes that were removed from 060 and existed in 040. I guess you
> corrected it in newer version and it was "unfortunate fix" (as
> specifying external fpu was not helping)
>
> gcc4.6.4 produces those opcodes with (i use "-c -Wall -m68060 -O3
> --omit-frame-pointer") and they are properly emulated by CT60 TOS so
> produced code is fully workable on real hardware.
Ok, great, thanks, that's the perfect explanation why it does not work
in Hatari anymore - the opcodes are not emulated here.
> 2) F22.0 stopped running on 1.9.0 about week before Silly Venture (was
> running fine earlier)
> Although running on real hardware we started to get bus error on 1.9.0
> (only one working so far). The only thing we were able to figure out
> is that difference was with just one more image file being loaded from
> filesystem (using C api and malloc etc). Not loading file made demo
> running again on 1.9.0 again. Sounds strange;)
Maybe a quirk with the GEMDOS HD emulation... it's not perfect. In case
you're interested, you could try to copy it to an IDE hard disk image
first and see whether it makes a difference.
> 3) VGA/RGB vbl rate
> I am not 100% sure but had impression that in VGA mode vbl is still
> 50hz instead of 60hz as my demo timing was off. (would need to double
> check)
Your impression is likely right: Hatari does not emulate the timings of
the Videl chip yet, so VBL rate is very likely just wrong.
> Well, I guess it is all I can tell about issues/bugs I observed... I
> hope it might be useful. Thanks a lot for making hatari! It roxx:)
Thanks!
Thomas