diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-24 02:19:48 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-24 02:19:48 -0700 |
commit | 508a9aedf03d887dcc00a8c53caf8cef1ada2937 (patch) | |
tree | 8d0eae4e522d3ac51a09bd477624ec4155836368 /m68k_core_x86.c | |
parent | 6c2b3708efcbd900c29422510cfdc62787d3c32d (diff) |
Half assed, prefetch based open bus value emulation. Gets BlastEm up to 119/122 in VDP FIFO Testing
Diffstat (limited to 'm68k_core_x86.c')
-rw-r--r-- | m68k_core_x86.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m68k_core_x86.c b/m68k_core_x86.c index 9882b35..149e84d 100644 --- a/m68k_core_x86.c +++ b/m68k_core_x86.c @@ -2167,6 +2167,11 @@ void translate_out_of_bounds(code_info *code) call_args(code, (code_ptr)exit, 1, RDI); } +void m68k_set_last_prefetch(m68k_options *opts, uint32_t address) +{ + mov_irdisp(&opts->gen.code, address, opts->gen.context_reg, offsetof(m68k_context, last_prefetch_address), SZ_D); +} + void nop_fill_or_jmp_next(code_info *code, code_ptr old_end, code_ptr next_inst) { if (next_inst == old_end && next_inst - code->cur < 2) { |