2017-02-14 10:17:40 +00:00
|
|
|
#ifndef _DEBUG_H_
|
|
|
|
#define _DEBUG_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "rk65c02.h"
|
2017-02-15 20:32:12 +00:00
|
|
|
#include "instruction.h"
|
2017-02-14 10:17:40 +00:00
|
|
|
|
|
|
|
bool debug_PC_is_breakpoint(rk65c02emu_t *);
|
|
|
|
bool debug_breakpoint_add(rk65c02emu_t *, uint16_t);
|
2017-02-15 18:55:48 +00:00
|
|
|
bool debug_breakpoint_remove(rk65c02emu_t *, uint16_t);
|
|
|
|
|
2017-02-15 20:32:12 +00:00
|
|
|
void debug_trace_set(rk65c02emu_t *, bool);
|
|
|
|
void debug_trace_savestate(rk65c02emu_t *, uint16_t, instrdef_t *, instruction_t *);
|
|
|
|
void debug_trace_print_all(rk65c02emu_t *);
|
|
|
|
|
2017-02-14 10:17:40 +00:00
|
|
|
#endif /* _DEBUG_H_ */
|
|
|
|
|