# HG changeset patch # User Michael Pavone # Date 1485677718 28800 # Node ID 191ac490fb3d43b3b4b8677eee975ed1419b4681 # Parent bb41c821d6d916f48681eac0a8353bc26b4bed3c Implement extra read and fix movem timing generally diff -r bb41c821d6d9 -r 191ac490fb3d m68k_core.c --- a/m68k_core.c Sat Jan 28 23:50:38 2017 -0800 +++ b/m68k_core.c Sun Jan 29 00:15:18 2017 -0800 @@ -461,7 +461,7 @@ } } else { //mem to reg - early_cycles = 4; + early_cycles = 8; //includes prefetch switch (inst->src.addr_mode) { case MODE_AREG_INDIRECT: @@ -520,9 +520,9 @@ if (inst->src.addr_mode == MODE_AREG_POSTINC) { native_to_areg(opts, opts->gen.scratch1, inst->src.params.regs.pri); } + //Extra read + call(code, opts->read_16); } - //prefetch - cycles(&opts->gen, 4); } static void translate_m68k_nop(m68k_options *opts, m68kinst *inst)