Re: [hatari-devel] New CPU choice

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On 15/01/2012 15:47, Laurent Sallafranque wrote:
Hi,

As there are plenties of CPUs in the new core, I think we could make
some choice :

CPU_EMU 0 is a generic cpu, but it contains everything for the 68000
(this is also the one ran when using 68030 without prefetch and cycle
exact)
CPU_EMU 11 is a 68000 + prefetch cpu
CPU_EMU 12 is a 68000 "cycle exact" CPU
CPU_EMU 20 is a 68020/030 cpu + prefetch
CPU_EMU 21 is the 68030 CPU + "cycle exact", the one I'm currently
working on
CPU_EMU 30 is a 68040/060 CPU

Maybe we could focuse on only 3 CPUs and forget the other ones (I think
there're just here for speed), but who cares a generic ST emulation ?

I would keep :
CPU_EMU 0 or 11 for the 68000 (there's to add all the code from the old
cpu into it)
CPU_EMU 21 for the falcon/TT
CPU_EMU 30 for later accelerated ataris (centurbo, ...) and the MMU for
specific 68040 CPU.

I could remove all the parameters in the GUI to keep only these choice.

Would this be OK for you ?

Hello

I'm OK with this ; but I had the feeling 20, 21 and 30 had a lot of code in common, so apart from the main loop in m68k_run_XXX I thought it would not be too much work to keep all versions.
But I didn't have a look at it recently, so I might be wrong.

As for the 68000 core, I think the 12 version will be useful when we want to reach maximum accuracy (sub instruction cycle precision), so it will be useful some days.

But we're not there yet, so I think you can change the cpu choice in the UI as you like, but do it only when compiling with the winuae core, for the old uae core, please leave all UI unchanged for now.

Nicolas






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/