comparison m68k_core.h @ 667:30ccf56842d6

All cycle counters are now based off the master clock. This seems to have messed up Z80 interrupt timing (music in Sonic 2 is too slow for instance), but things are generally working
author Michael Pavone <pavone@retrodev.com>
date Sat, 03 Jan 2015 16:08:23 -0800
parents a18e3923481e
children fc04781f4d28
comparison
equal deleted inserted replaced
666:b68039895627 667:30ccf56842d6
65 } m68k_context; 65 } m68k_context;
66 66
67 void translate_m68k(m68k_options * opts, struct m68kinst * inst); 67 void translate_m68k(m68k_options * opts, struct m68kinst * inst);
68 void translate_m68k_stream(uint32_t address, m68k_context * context); 68 void translate_m68k_stream(uint32_t address, m68k_context * context);
69 void start_68k_context(m68k_context * context, uint32_t address); 69 void start_68k_context(m68k_context * context, uint32_t address);
70 void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks); 70 void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider);
71 void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts); 71 void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts);
72 void m68k_reset(m68k_context * context); 72 void m68k_reset(m68k_context * context);
73 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); 73 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler);
74 void remove_breakpoint(m68k_context * context, uint32_t address); 74 void remove_breakpoint(m68k_context * context, uint32_t address);
75 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context); 75 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context);