forked from scarybeasts/beebjit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interp.h
28 lines (22 loc) · 888 Bytes
/
interp.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
26
27
28
#ifndef BEEBJIT_INTERP_H
#define BEEBJIT_INTERP_H
#include <stdint.h>
struct cpu_driver;
struct cpu_driver_funcs;
struct interp_struct;
struct cpu_driver* interp_create(struct cpu_driver_funcs* p_funcs,
int is_65c12);
int64_t interp_enter_with_details(
struct interp_struct* p_interp,
int64_t countdown,
int (*instruction_callback)(void* p,
uint16_t next_pc,
uint8_t done_opcode,
uint16_t done_addr,
int next_is_irq,
int irq_pending,
int hit_special),
void* p_callback_context);
int interp_has_memory_written_callback(struct interp_struct* p_interp);
void interp_testing_unexit(struct interp_struct* p_interp);
#endif /* BEEBJIT_INTERP_H */