|
PZ80emu
0.1
|
#include "../config.h"#include <err.h>#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include "display.h"#include "interpreter.h"#include "z80.h"
Functions | |
| struct z80 * | new_cpu (void) |
| void | reset_cpu (struct z80 *cpu) |
| int | run (struct z80 *cpu, uint8_t *memory, long runcycles, bool s_flag) |
| void reset_cpu | ( | struct z80 * | cpu | ) |
| int run | ( | struct z80 * | cpu, |
| uint8_t * | memory, | ||
| long | runcycles, | ||
| bool | s_flag | ||
| ) |
Runs the cpu
| cpu | A z80 cpu struct to run. |
| memory | An allocated block of memory to pass to the cpu. |
| runcycles | The number of clock cycles to run the cpu. |
| s_flag | Enable running in step mode |
