[hatari-devel] New CPU and falcon emulation
Laurent Sallafranque
laurent.sallafranque at free.fr
Wed Jan 26 15:10:54 CET 2011
Hi Miro,
You just have to change the following option in the main CMakeLists.txt :
set(ENABLE_DSP_EMU 1
CACHE BOOL "Enable DSP 56k emulator for Falcon mode")
set(ENABLE_TRACING 1
CACHE BOOL "Enable tracing messages for debugging")
set(ENABLE_SMALL_MEM 0
CACHE BOOL "Enable to use less memory - at the expense of emulation
speed")
set(ENABLE_WINUAE_CPU 1
CACHE BOOL "Enable WinUAE CPU core (experimental!)")
Just change set(ENABLE_WINUAE_CPU 0 by set(ENABLE_WINUAE_CPU 1
Then rebuild Cmake and then compile hatari from scratch.
In the config panel, choose
Machine type : Falcon
CPU type : 68030
CPU clock : 16 Mhz (some demos run only with 32 Mhz, see the
compatibility list on hatari's site)
Falcon Dsp : full
Cpu parameters :
24 bits : check
prefetch mode : check
cyc exact : don't check it for now, it's not implemented
Real time clock emu : check
Patch timer_d : not check
Blitter emu : check
MMU emulation : not check, (not implemented for now)
In the FPU part : choose CPU internal (I don't know if there's a
difference with 68881 and 68882)
choose also more compatible, slower
I use 14 Meg for the memory.
Tell me if this works also for you.
regards
Laurent
e 26/01/2011 15:01, Miro Kropác(ek a écrit :
> Hi,
>
> how do I activate this new code? It's done by default?
>
> On Wed, Jan 26, 2011 at 3:00 PM, Laurent Sallafranque
> <laurent.sallafranque at free.fr <mailto:laurent.sallafranque at free.fr>>
> wrote:
>
> Hi,
>
> I've done a lot of tests. I've got better results now than I had
> with the older core.
> For me, this new core is adopted ;)
>
> More programs are working, and I haven't seen any regression for now.
> Sound is globally better (there sre still some glitches sometimes).
>
> I've included the new run_dsp code.
> If I want to let run BOUND2, BOUND3 and ROT3DBMP, I can add a "+3"
> to this line in dsp_run:
> save_cycles += nHostCycles * 2; // + 3 if we want
> bound2.prg, bound3.prg and rot3dBMP to work properly
>
> I won't add the "+3" for now, as it may hide another problem.
>
> I've adapted the algo tomas from nocrew explained me for MP2 player.
> Sound is now correctly transmitted from DMA to DSP_receive.
> But the music plays a lot too fast (I don't know why for now).
>
> Synchro between CPU and DSP are still the main problem to solve I
> think.
> Videl is the other one. I'll give it a try now, as I think it's
> the only component that is not emulated at all.
>
> Maybe Videl improvement will increase falcon emulation
> compatibility (for HBL and VBL sync for example).
> Anyway, it'll allow more demos to work.
>
> So, except if you think there's something more urgent to finish,
> I'll enter in videl emulation.
>
> Regards
>
> Laurent
>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de <mailto:hatari-devel at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
>
>
>
> --
> MiKRO / Mystic Bytes
> http://mikro.atari.org
>
>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20110126/b21bb39a/attachment.html>
More information about the hatari-devel
mailing list