Mercurial > repos > blastem
comparison debug.h @ 1129:6b5c92b6205c
Enabled Z80 debugger in PBC mode
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 28 Dec 2016 12:28:52 -0800 |
parents | cc05444a4a4e |
children | 85a90964b557 |
comparison
equal
deleted
inserted
replaced
1128:093c19f34dfd | 1129:6b5c92b6205c |
---|---|
1 #ifndef DEBUG_H_ | 1 #ifndef DEBUG_H_ |
2 #define DEBUG_H_ | 2 #define DEBUG_H_ |
3 | 3 |
4 #include <stdint.h> | 4 #include <stdint.h> |
5 #include "m68k_core.h" | 5 #include "m68k_core.h" |
6 #include "z80_to_x86.h" | |
6 | 7 |
7 typedef struct disp_def { | 8 typedef struct disp_def { |
8 struct disp_def * next; | 9 struct disp_def * next; |
9 char * param; | 10 char * param; |
10 uint32_t index; | 11 uint32_t index; |
21 bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); | 22 bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); |
22 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); | 23 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); |
23 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); | 24 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); |
24 void remove_display(disp_def ** head, uint32_t index); | 25 void remove_display(disp_def ** head, uint32_t index); |
25 m68k_context * debugger(m68k_context * context, uint32_t address); | 26 m68k_context * debugger(m68k_context * context, uint32_t address); |
27 z80_context * zdebugger(z80_context * context, uint16_t address); | |
26 | 28 |
27 #endif //DEBUG_H_ | 29 #endif //DEBUG_H_ |