Mercurial > repos > blastem
comparison m68k_core.h @ 883:9f149f0e98b7
It is now possible to switch back and forth between the menu ROM and the game
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Nov 2015 19:15:37 -0800 |
parents | b6842dfb8edf |
children | 252dfd29831d |
comparison
equal
deleted
inserted
replaced
882:75453bf2ffac | 883:9f149f0e98b7 |
---|---|
56 uint32_t current_cycle; | 56 uint32_t current_cycle; |
57 uint32_t sync_cycle; | 57 uint32_t sync_cycle; |
58 uint32_t int_cycle; | 58 uint32_t int_cycle; |
59 uint32_t int_num; | 59 uint32_t int_num; |
60 uint16_t *mem_pointers[NUM_MEM_AREAS]; | 60 uint16_t *mem_pointers[NUM_MEM_AREAS]; |
61 void *resume_pc; | 61 code_ptr resume_pc; |
62 native_map_slot *native_code_map; | 62 native_map_slot *native_code_map; |
63 m68k_options *options; | 63 m68k_options *options; |
64 void *system; | 64 void *system; |
65 uint8_t int_pending; | 65 uint8_t int_pending; |
66 uint8_t should_return; | 66 uint8_t should_return; |
68 } m68k_context; | 68 } m68k_context; |
69 | 69 |
70 void translate_m68k(m68k_options * opts, struct m68kinst * inst); | 70 void translate_m68k(m68k_options * opts, struct m68kinst * inst); |
71 void translate_m68k_stream(uint32_t address, m68k_context * context); | 71 void translate_m68k_stream(uint32_t address, m68k_context * context); |
72 void start_68k_context(m68k_context * context, uint32_t address); | 72 void start_68k_context(m68k_context * context, uint32_t address); |
73 void resume_68k(m68k_context *context); | |
73 void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider); | 74 void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider); |
74 m68k_context * init_68k_context(m68k_options * opts); | 75 m68k_context * init_68k_context(m68k_options * opts); |
75 void m68k_reset(m68k_context * context); | 76 void m68k_reset(m68k_context * context); |
76 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); | 77 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); |
77 void remove_breakpoint(m68k_context * context, uint32_t address); | 78 void remove_breakpoint(m68k_context * context, uint32_t address); |