Mercurial > repos > blastem
comparison m68k_to_x86.h @ 198:209a37eed3e7
Add support for breaking into the debugger while game is running
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 20 Jan 2013 19:10:29 -0800 |
parents | 7c227a8ec53d |
children | 3457dc6fd558 |
comparison
equal
deleted
inserted
replaced
197:7c227a8ec53d | 198:209a37eed3e7 |
---|---|
1 #ifndef M68K_TO_X86_H_ | |
2 #define M68K_TO_X86_H_ | |
1 #include <stdint.h> | 3 #include <stdint.h> |
2 #include <stdio.h> | 4 #include <stdio.h> |
3 #include "68kinst.h" | 5 #include "68kinst.h" |
4 | 6 |
5 #define NUM_MEM_AREAS 4 | 7 #define NUM_MEM_AREAS 4 |
61 void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts); | 63 void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts); |
62 void m68k_reset(m68k_context * context); | 64 void m68k_reset(m68k_context * context); |
63 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); | 65 void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); |
64 void remove_breakpoint(m68k_context * context, uint32_t address); | 66 void remove_breakpoint(m68k_context * context, uint32_t address); |
65 | 67 |
68 #endif //M68K_TO_X86_H_ | |
69 |