working on debug menu

This commit is contained in:
2025-05-30 18:27:31 -06:00
parent bb572cce69
commit 604a6d79f2
10 changed files with 251 additions and 126 deletions

View File

@ -33,6 +33,7 @@ typedef struct {
bool enabling_ime;
u8 ie_register;
u8 int_flags;
u16 inst_pc;
} cpu_context;
typedef struct {
@ -42,6 +43,8 @@ typedef struct {
void cpu_save_state(cpu_state*);
void cpu_load_state(const cpu_state*);
void fetch_instruction(cpu_context *ctx);
void cpu_init();
bool cpu_step();