Mercurial > repos > blastem
view debug.h @ 995:2bc27415565b
Fix some stuff with interrupt timing. The change in adjust_int_cycle gets Overdrive working again (vint was not being preferred over hint in some cases). One of the changes seems to have broken Fatal Rewind again, but no other regressions that I can see.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Apr 2016 08:37:55 -0700 |
parents | cc05444a4a4e |
children | 6b5c92b6205c |
line wrap: on
line source
#ifndef DEBUG_H_ #define DEBUG_H_ #include <stdint.h> #include "m68k_core.h" typedef struct disp_def { struct disp_def * next; char * param; uint32_t index; char format_char; } disp_def; typedef struct bp_def { struct bp_def *next; char *commands; uint32_t address; uint32_t index; } bp_def; bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); void remove_display(disp_def ** head, uint32_t index); m68k_context * debugger(m68k_context * context, uint32_t address); #endif //DEBUG_H_