While reading all the changes (very good work !), I noticed the
following (in newcpu.c) :
3658 if (mmu_enabled && !currprefs.cachesize) {
3659 run_func = m68k_run_mmu;
3661 run_func = currprefs.cpu_cycle_exact && currprefs.cpu_model == 68000 ? m68k_run_1_ce :
3662 currprefs.cpu_compatible && currprefs.cpu_model == 68000 ? m68k_run_1 :
3664 currprefs.cpu_model >= 68020 && currprefs.cachesize ? m68k_run_jit :
3666 currprefs.cpu_model >= 68020 && currprefs.mmu_model ? m68k_run_mmu040 :
3667 currprefs.cpu_model >= 68020 && currprefs.cpu_cycle_exact ? m68k_run_2ce :
3668 currprefs.cpu_compatible ? m68k_run_2p : m68k_run_2;
3670 run_func ();
I thought the 68020 was a 68030 without MMU, was I wrong ? (see line 3666)
Just for info, I've got the following warning :
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu030.c.o
/home/laurent/Atari/hatari/src/cpu/cpummu030.c: In function
‘mmu030_create_atc_entry’:
/home/laurent/Atari/hatari/src/cpu/cpummu030.c:1018:13: attention :
variable ‘page_index’ set but not used [-Wunused-but-set-variable]
Regards,
Laurent