summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Sven Schnelle <svens@stackframe.org>2018-12-01 22:06:54 +0100
committer Sven Schnelle <svens@stackframe.org>2018-12-02 08:25:17 +0100
commit505726395653491f6f6c25cbcfccdf540bf3faab (patch)
tree5e1f6514f03953f22a6a34f28f4b3c89dfdfcd9e
parent6d1d3a9f8c1c4cafbd385687319d7aabca9097c5 (diff)
m68kfpu: add (d16,An) addr mode to WRITE_EA_FPE()
required by netbsd ps command, which utilizes the FPU.
-rw-r--r--src/devices/cpu/m68000/m68kfpu.hxx7
1 files changed, 7 insertions, 0 deletions
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)