projects
/
mercenary-reloaded.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove circular dependencies between libs, use callback function pointers instead
[mercenary-reloaded.git]
/
src
/
libcpu
/
execute.h
1
2
struct cpu_stop {
3
uint32_t pc;
4
int event;
5
};
6
7
void execute_init(int32_t _memory_size, uint8_t *_memory, uint16_t *_chipreg, uint16_t (*io_read)(uint32_t address), void (*io_write)(uint32_t address, uint16_t value));
8
void reset_cpu(void);
9
int execute_cpu(int irq, const struct cpu_stop stop_at[], int *event);
10