comparison debug.h @ 2053:3414a4423de1 segacd

Merge from default
author Michael Pavone <pavone@retrodev.com>
date Sat, 15 Jan 2022 13:15:21 -0800
parents 5d028088e320
children 374a5ae694e8 f80c6111e1ae
comparison
equal deleted inserted replaced
1692:5dacaef602a7 2053:3414a4423de1
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 #ifdef NEW_CORE
7 #include "z80.h"
8 #else
6 #include "z80_to_x86.h" 9 #include "z80_to_x86.h"
10 #endif
7 11
8 typedef struct disp_def { 12 typedef struct disp_def {
9 struct disp_def * next; 13 struct disp_def * next;
10 char * param; 14 char * param;
11 uint32_t index; 15 uint32_t index;
23 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); 27 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index);
24 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); 28 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param);
25 void remove_display(disp_def ** head, uint32_t index); 29 void remove_display(disp_def ** head, uint32_t index);
26 void debugger(m68k_context * context, uint32_t address); 30 void debugger(m68k_context * context, uint32_t address);
27 z80_context * zdebugger(z80_context * context, uint16_t address); 31 z80_context * zdebugger(z80_context * context, uint16_t address);
32 void print_m68k_help();
33 void print_z80_help();
28 34
29 #endif //DEBUG_H_ 35 #endif //DEBUG_H_