summaryrefslogtreecommitdiff
path: root/m68k_internal.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-10-06 09:34:31 -0700
committerMichael Pavone <pavone@retrodev.com>2016-10-06 09:34:31 -0700
commit986b3641a1110e7dd1994c76ecb592420877f8f5 (patch)
treec6079b2fcbe228e3957dc435bad7d6e92e8a3c63 /m68k_internal.h
parent9b16317e1842af9b71837a43ffba04ca45689dcc (diff)
Add support for specifying a reset handler in the M68K core. Adjust memory map initialization to handle extra field. Improved handling of out of bounds execution.
Diffstat (limited to 'm68k_internal.h')
-rw-r--r--m68k_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/m68k_internal.h b/m68k_internal.h
index 4a3acf3..b472eb6 100644
--- a/m68k_internal.h
+++ b/m68k_internal.h
@@ -9,7 +9,7 @@
#include "68kinst.h"
//functions implemented in host CPU specfic file
-void translate_out_of_bounds(code_info *code);
+void translate_out_of_bounds(m68k_options *opts, uint32_t address);
void areg_to_native(m68k_options *opts, uint8_t reg, uint8_t native_reg);
void dreg_to_native(m68k_options *opts, uint8_t reg, uint8_t native_reg);
void areg_to_native_sx(m68k_options *opts, uint8_t reg, uint8_t native_reg);
@@ -42,7 +42,6 @@ size_t dreg_offset(uint8_t reg);
size_t areg_offset(uint8_t reg);
size_t reg_offset(m68k_op_info *op);
void translate_m68k_op(m68kinst * inst, host_ea * ea, m68k_options * opts, uint8_t dst);
-void print_regs_exit(m68k_context * context);
void m68k_read_size(m68k_options *opts, uint8_t size);
void m68k_write_size(m68k_options *opts, uint8_t size, uint8_t lowfirst);
void m68k_save_result(m68kinst * inst, m68k_options * opts);
@@ -88,6 +87,7 @@ void translate_m68k_eori_ccr_sr(m68k_options *opts, m68kinst *inst);
void translate_m68k_move_ccr_sr(m68k_options *opts, m68kinst *inst, host_ea *src_op, host_ea *dst_op);
void translate_m68k_stop(m68k_options *opts, m68kinst *inst);
void translate_m68k_move_from_sr(m68k_options *opts, m68kinst *inst, host_ea *src_op, host_ea *dst_op);
+void translate_m68k_reset(m68k_options *opts, m68kinst *inst);
//flag update bits
#define X0 0x0001