summaryrefslogtreecommitdiff
path: root/m68k_core.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-28 21:19:55 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-28 21:19:55 -0700
commitef033e39c170fe272a956b1417f217a0d3cce29c (patch)
tree0ca08ba1614e87cee73f4904ea362928565b2531 /m68k_core.h
parent632c82bd63a13da242c90a5d93dfe7482a0bebe6 (diff)
parent6817ef558d165b50a9b08a337dd93c4f1f46304e (diff)
Merge windows branch with latest changes
Diffstat (limited to 'm68k_core.h')
-rw-r--r--m68k_core.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/m68k_core.h b/m68k_core.h
index 370aa1e..b91a37b 100644
--- a/m68k_core.h
+++ b/m68k_core.h
@@ -34,6 +34,7 @@ typedef struct {
code_ptr write_32_highfirst;
code_ptr do_sync;
code_ptr trap;
+ code_ptr odd_address;
start_fun start_context;
code_ptr retrans_stub;
code_ptr native_addr;
@@ -59,16 +60,16 @@ typedef struct {
uint16_t reserved;
native_map_slot *native_code_map;
- void *options;
- uint8_t ram_code_flags[32/8];
+ m68k_options *options;
void *system;
+ uint8_t ram_code_flags[];
} m68k_context;
void translate_m68k(m68k_options * opts, struct m68kinst * inst);
void translate_m68k_stream(uint32_t address, m68k_context * context);
void start_68k_context(m68k_context * context, uint32_t address);
-void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks);
-void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts);
+void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider);
+m68k_context * init_68k_context(m68k_options * opts);
void m68k_reset(m68k_context * context);
void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler);
void remove_breakpoint(m68k_context * context, uint32_t address);