From bc48df9f7162a4a816fdc0edaa6ed08304008c9c Mon Sep 17 00:00:00 2001 From: gbc dev Date: Sat, 4 Jul 2026 22:11:10 +0200 Subject: core emulator: SM83 CPU, MMU, timer, PPU, CGB support Passes blargg cpu_instrs (all 11), instr_timing, mem_timing. --- src/cpu.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/cpu.h (limited to 'src/cpu.h') diff --git a/src/cpu.h b/src/cpu.h new file mode 100644 index 0000000..8415951 --- /dev/null +++ b/src/cpu.h @@ -0,0 +1,9 @@ +#ifndef GBC_CPU_H +#define GBC_CPU_H + +#include "gb.h" + +// Execute one instruction (or handle interrupt / halt). Returns T-cycles used. +int cpu_step(GB *gb); + +#endif -- cgit v1.3.1-sl0p