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

19
include/debug.h Normal file
View File

@ -0,0 +1,19 @@
#pragma once
#include <common.h>
typedef enum {
DS_MAIN,
DS_DISASSEMBLE
} debug_state;
typedef struct {
debug_state state;
u16 dissasembly_scroll;
u16 dissasembly_target;
u16 dissasembly_pc;
} debug_context;
void debug_update();
debug_context *debug_get_context();
void debug_init();