m68k: Implement FMOVEM mode 0b11 (#8022)

Since the two bits seem to have symmetry, it's odd this wasn't there
before.

Should fix issues with Domain/OS and NeXTSTEP emulation.
This commit is contained in:
Calvin Buckley 2021-04-30 20:31:13 -03:00 committed by GitHub
parent e72e97b174
commit b77f120ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1773,6 +1773,10 @@ void m68000_base_device::fmovem(u16 w2)
break;
}
case 3: // Dynamic register list, postincrement or control addressing mode.
// FIXME: not really tested, but seems to work
reglist = REG_D()[(reglist >> 4) & 7];
[[fallthrough]];
case 2: // Static register list, postdecrement or control addressing mode
{
for (i=0; i < 8; i++)