Mercurial > repos > blastem
comparison m68k_core.h @ 1931:374a5ae694e8 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 18 Apr 2020 11:42:53 -0700 |
parents | 75172d440900 |
children | 638eb2d25696 |
comparison
equal
deleted
inserted
replaced
1843:13abdc98379e | 1931:374a5ae694e8 |
---|---|
34 int8_t dir; | 34 int8_t dir; |
35 } movem_fun; | 35 } movem_fun; |
36 | 36 |
37 typedef struct { | 37 typedef struct { |
38 cpu_options gen; | 38 cpu_options gen; |
39 #ifdef USE_NATIVE | 39 #ifndef NEW_CORE |
40 int8_t dregs[8]; | 40 int8_t dregs[8]; |
41 int8_t aregs[8]; | 41 int8_t aregs[8]; |
42 int8_t flag_regs[5]; | 42 int8_t flag_regs[5]; |
43 #endif | 43 #endif |
44 FILE *address_log; | 44 FILE *address_log; |
45 #ifdef USE_NATIVE | 45 #ifndef NEW_CORE |
46 code_ptr read_16; | 46 code_ptr read_16; |
47 code_ptr write_16; | 47 code_ptr write_16; |
48 code_ptr read_8; | 48 code_ptr read_8; |
49 code_ptr write_8; | 49 code_ptr write_8; |
50 code_ptr read_32; | 50 code_ptr read_32; |
117 void remove_breakpoint(m68k_context * context, uint32_t address); | 117 void remove_breakpoint(m68k_context * context, uint32_t address); |
118 uint32_t get_instruction_start(m68k_options *opts, uint32_t address); | 118 uint32_t get_instruction_start(m68k_options *opts, uint32_t address); |
119 uint16_t m68k_get_ir(m68k_context *context); | 119 uint16_t m68k_get_ir(m68k_context *context); |
120 void m68k_print_regs(m68k_context * context); | 120 void m68k_print_regs(m68k_context * context); |
121 void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end); | 121 void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end); |
122 #ifdef USE_NATIVE | 122 #ifndef NEW_CORE |
123 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context); | 123 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context); |
124 #else | 124 #else |
125 #define m68k_handle_code_write(A, M) | 125 #define m68k_handle_code_write(A, M) |
126 #endif | 126 #endif |
127 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf); | 127 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf); |