From bb1aa5958d1b67707dcf0f6b08bfaf0b408bd46e Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Fri, 19 Sep 2025 13:17:14 +1200 Subject: Massive rewrite This commit rewrites the emulator halfway from scratch to make it easier to change and maintain in the future. The emulator core was rewritten to adhere to the released Bedrock specification (earlier versions implemented an older prototype specification, which is no longer relevant). This commit also adds proper support for running multiple concurrent Bedrock instances. This was previously supported in a limited manner for the on-screen keyboard, but now works for any regular program as well, with switching being performed by pressing the L or R bumper buttons. This is disabled by default, as programs will still need to be baked into the emulator and hand-loaded. --- arm9/source/debug.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 arm9/source/debug.c (limited to 'arm9/source/debug.c') diff --git a/arm9/source/debug.c b/arm9/source/debug.c deleted file mode 100644 index eae5192..0000000 --- a/arm9/source/debug.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include "core.h" - -void debug_stacks(Bedrock *br) { - u8 i; - printf("\nP:0x%04x I:0x%02x", PC, MEM[PC]); - printf("\nW:"); - for (i=0; i