From a5e2678ad12559ef6d5c9dd95e37b624c435d512 Mon Sep 17 00:00:00 2001 From: arbee Date: Mon, 27 May 2024 22:45:58 -0400 Subject: cpu/m68000: Turn off FPU verbose logging, implement missing FMOVE #imm32 mode. [R. Belmont] --- src/devices/cpu/m68000/m68kfpu.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/devices/cpu/m68000/m68kfpu.cpp b/src/devices/cpu/m68000/m68kfpu.cpp index b04496effcb..76c5c2dd8ad 100644 --- a/src/devices/cpu/m68000/m68kfpu.cpp +++ b/src/devices/cpu/m68000/m68kfpu.cpp @@ -19,7 +19,7 @@ #define LOG_INSTRUCTIONS_VERBOSE (1U << 3) #define LOG_LOADSTORE (1U << 4) -#define VERBOSE (LOG_GENERAL | LOG_INSTRUCTIONS | LOG_INSTRUCTIONS_VERBOSE | LOG_LOADSTORE) +#define VERBOSE (0) #define LOG_OUTPUT_FUNC osd_printf_info #include "logmacro.h" @@ -1884,6 +1884,14 @@ void m68000_musashi_device::fmove_fpcr(u16 w2) address = EA_PCIX_32(); break; + case 4: // # + { + if (regsel & 4) m_fpcr = READ_EA_32(ea); + else if (regsel & 2) m_fpsr = READ_EA_32(ea); + else if (regsel & 1) m_fpiar = READ_EA_32(ea); + return; + } + default: fatalerror("M68kFPU: fmove_fpcr: unhandled mode %d, reg %d at %08X\n", mode, reg, m_pc); break; -- cgit v1.2.3