forked from scarybeasts/beebjit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.h
25 lines (18 loc) · 767 Bytes
/
debug.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef BEEBJIT_DEBUG_H
#define BEEBJIT_DEBUG_H
#include <stdint.h>
struct bbc_options;
struct bbc_struct;
struct cpu_driver;
struct debug_struct;
struct debug_struct* debug_create(struct bbc_struct* p_bbc,
int debug_active,
struct bbc_options* p_options);
/* debug_init() is called after the cpu_driver is set up. */
void debug_init(struct debug_struct* p_debug);
void debug_destroy(struct debug_struct* p_debug);
volatile int* debug_get_interrupt(struct debug_struct* p_debug);
int debug_subsystem_active(void* p);
void debug_set_commands(struct debug_struct* p_debug, const char* p_commands);
void* debug_callback(struct cpu_driver* p_cpu_driver, int do_irq);
#endif /* BEEBJIT_DEBUG_H */