repo structure overhaul

This commit is contained in:
Prakxo
2023-12-09 13:34:31 +01:00
parent f0d30c4e77
commit 4b8cf4324a
349 changed files with 204 additions and 662 deletions
+21
View File
@@ -0,0 +1,21 @@
#include "m_debug.h"
#include "libc64/malloc.h"
Debug_mode* debug_mode;
extern void new_Debug_mode() {
int i;
debug_mode = (Debug_mode*)malloc(sizeof(Debug_mode));
debug_mode->mode = 0;
debug_mode->type = 0;
debug_mode->input_r = 0;
debug_mode->old_key = 0;
debug_mode->key_wait = 0;
for (i = 0; i < DEBUG_REG_COUNT; i++) {
debug_mode->r[i] = 0;
}
}