From: Toni Wilen Date: Fri, 17 Jul 2020 19:03:00 +0000 (+0300) Subject: Set also 68030 data cache flush bit. X-Git-Tag: 4900~345 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=68c6df88943e4dab48e931a83c6c053767ac955c;p=francis%2Fwinuae.git Set also 68030 data cache flush bit. --- diff --git a/cputest/main.c b/cputest/main.c index 9d6b061e..ab158462 100644 --- a/cputest/main.c +++ b/cputest/main.c @@ -480,7 +480,11 @@ static void start_test(void) cpustatearraynew[2] = 0x00008000; } else { // 68020/30 CACR (CI=1,IE=1) - cpustatearraynew[2] = 0x00000009; + cpustatearraynew[2] = 0x0009; + if (cpu_lvl == 3) { + // 68030 CACR CD=1 + cpustatearraynew[2] |= 0x0800; + } } setcpu(cpu_lvl, cpustatearraynew, cpustatearraystore);