# HG changeset patch # User Michael Pavone # Date 1740631560 28800 # Node ID 0046305e3fa862cb12d47f300fbe0b7b619ca3b2 # Parent f5603b4ee14d83ce124bc703ce64b70c20e3f148 Fix movep with negative displacement diff -r f5603b4ee14d -r 0046305e3fa8 m68k.cpu --- a/m68k.cpu Wed Feb 26 20:45:40 2025 -0800 +++ b/m68k.cpu Wed Feb 26 20:46:00 2025 -0800 @@ -2453,6 +2453,7 @@ 0000DDD10Z001AAA movep_ay_dx local address 32 m68k_prefetch + sext 32 scratch1 scratch1 scratch1 += aregs.A address = scratch1 + 2 ocall read_8 @@ -2474,6 +2475,7 @@ 0000DDD11Z001AAA movep_dx_ay m68k_prefetch + sext 32 scratch1 scratch1 scratch2 = scratch1 + aregs.A if Z scratch1 = dregs.D >> 24