comparison m68k_internal.h @ 1363:df6af7187b36

Fix to M68K interrupt latency for most instructions. Still needs some work for RAW_IMPL instructions besides move
author Michael Pavone <pavone@retrodev.com>
date Fri, 19 May 2017 20:27:35 -0700
parents 85a90964b557
children e01adbe1a75b
comparison
equal deleted inserted replaced
1362:83bdd358f3a7 1363:df6af7187b36
34 void check_user_mode_swap_ssp_usp(m68k_options *opts); 34 void check_user_mode_swap_ssp_usp(m68k_options *opts);
35 void m68k_set_last_prefetch(m68k_options *opts, uint32_t address); 35 void m68k_set_last_prefetch(m68k_options *opts, uint32_t address);
36 void translate_m68k_odd(m68k_options *opts, m68kinst *inst); 36 void translate_m68k_odd(m68k_options *opts, m68kinst *inst);
37 void m68k_trap_if_not_supervisor(m68k_options *opts, m68kinst *inst); 37 void m68k_trap_if_not_supervisor(m68k_options *opts, m68kinst *inst);
38 void m68k_breakpoint_patch(m68k_context *context, uint32_t address, m68k_debug_handler bp_handler, code_ptr native_addr); 38 void m68k_breakpoint_patch(m68k_context *context, uint32_t address, m68k_debug_handler bp_handler, code_ptr native_addr);
39 void m68k_check_cycles_int_latch(m68k_options *opts);
40 uint8_t translate_m68k_op(m68kinst * inst, host_ea * ea, m68k_options * opts, uint8_t dst);
39 41
40 //functions implemented in m68k_core.c 42 //functions implemented in m68k_core.c
41 int8_t native_reg(m68k_op_info * op, m68k_options * opts); 43 int8_t native_reg(m68k_op_info * op, m68k_options * opts);
42 size_t dreg_offset(uint8_t reg); 44 size_t dreg_offset(uint8_t reg);
43 size_t areg_offset(uint8_t reg); 45 size_t areg_offset(uint8_t reg);
44 size_t reg_offset(m68k_op_info *op); 46 size_t reg_offset(m68k_op_info *op);
45 void translate_m68k_op(m68kinst * inst, host_ea * ea, m68k_options * opts, uint8_t dst);
46 void m68k_read_size(m68k_options *opts, uint8_t size); 47 void m68k_read_size(m68k_options *opts, uint8_t size);
47 void m68k_write_size(m68k_options *opts, uint8_t size, uint8_t lowfirst); 48 void m68k_write_size(m68k_options *opts, uint8_t size, uint8_t lowfirst);
48 void m68k_save_result(m68kinst * inst, m68k_options * opts); 49 void m68k_save_result(m68kinst * inst, m68k_options * opts);
49 void jump_m68k_abs(m68k_options * opts, uint32_t address); 50 void jump_m68k_abs(m68k_options * opts, uint32_t address);
50 void swap_ssp_usp(m68k_options * opts); 51 void swap_ssp_usp(m68k_options * opts);