From 68c6df88943e4dab48e931a83c6c053767ac955c Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 17 Jul 2020 22:03:00 +0300 Subject: [PATCH] Set also 68030 data cache flush bit. --- cputest/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.47.3