Re: [hatari-devel] Mega ST(E) |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Le 12/06/2016 à 14:34, Thomas Huth a écrit :
Am Sun, 12 Jun 2016 13:11:47 +0200 schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:Le 12/06/2016 à 12:56, Thomas Huth a écrit :Also, I think we could add support for megast reg ff8e21 ; it just allows to set cache on/off and to change cpu speed from 8 to 16 Mhz.Yes, why not, do you've got some spare minutes to do this?Yes, I will handle it. This will fix the game "tymewarp" which should also work under mega ste, but doesn't so far (ff8e21 doesn't seem to be present in megastf)Right, as far as I know, the normal Mega STs could not run with 16 MHz and did not have a cache. That's only features of the Mega STE.
Register added for megaste ; we can see that if cpu is set to 16 MHz before starting 'Tymewarp' (http://www.pouet.net/prod.php?which=15943), then it correctly goes to 8 MHz when the game starts.
On a side note, I see that in the code you added in ioMem.c for STF/MegaSTF, fix functions are called before filling the whole IO space. This results in these kinds of warning :
IoMem_Init: Warning: $ff820a (R) already defined IoMem_Init: Warning: $ff820a (W) already definedIt's harmless, but maybe we could fill default IO space first, then apply fixes for each machine ?
Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |