[hatari-devel] Falcon emu and STE compatibility (D-Bug games)
Nicolas Pomarède
npomarede at corp.free.fr
Fri Feb 18 00:07:25 CET 2011
Le 17/02/2011 23:13, Laurent Sallafranque a écrit :
> - With some games, the initial D-Bug main menu propose us to switch from
> 16 to 8 Mhz for better compatibility.
> I'm pretty sure they use register $ff8007.b (Bit 0) for this (I'll check
> tomorrow).
>
> Is there a way for us to switch the CPU speed of Hatari from 16 Mhz to 8
> Mhz (or from 8 Mhz to 16 Mhz) on the fly (while Hatari runs) ?
>
Changing the cpu freq on the fly in Hatari should be ok and should not
need a reset ("fake" emulation of 16 MHz is done by dividing all cpu
cycles by 2, so going back to 8 MHz should be ok, as all timers are
relative to a 8 MHz "master" clock)
This means nCpuFreqShift should be set to 0 instead of 1
Nicolas
More information about the hatari-devel
mailing list