From 505726395653491f6f6c25cbcfccdf540bf3faab Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sat, 1 Dec 2018 22:06:54 +0100 Subject: m68kfpu: add (d16,An) addr mode to WRITE_EA_FPE() required by netbsd ps command, which utilizes the FPU. --- src/devices/cpu/m68000/m68kfpu.hxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/devices/cpu/m68000/m68kfpu.hxx b/src/devices/cpu/m68000/m68kfpu.hxx index 5e2c74770f3..a0fe2c8a7f1 100644 --- a/src/devices/cpu/m68000/m68kfpu.hxx +++ b/src/devices/cpu/m68000/m68kfpu.hxx @@ -1119,6 +1119,13 @@ void WRITE_EA_FPE(int ea, floatx80 fpr) break; } + case 5: // (d16,An) + { + uint32_t ea = EA_AY_DI_32(); + store_extended_float80(ea, fpr); + break; + } + case 7: { switch (reg) -- cgit v1.2.3