From a1b95e9ccf9bd7b316adf21952e43e03f2bf3746 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 19 Nov 2024 17:52:36 +1300 Subject: Implement memory device The memory device is fully implemented, with 3MB of heap memory. This commit is a bit messy, additional changes are: - The program memory and program counter in each Bedrock struct have been moved to a dedicated struct to prevent a name collision with the memory device - The run_bg and debug functions have been moved to core.c and debug.c - The blank screen colour has been changed back to black - No second program runs on the sub screen by default - The number of Bedrock instances to run has been parameterized --- arm9/source/debug.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arm9/source/debug.h (limited to 'arm9/source/debug.h') diff --git a/arm9/source/debug.h b/arm9/source/debug.h new file mode 100644 index 0000000..36bfca3 --- /dev/null +++ b/arm9/source/debug.h @@ -0,0 +1,7 @@ +#ifndef DEBUG_H_ + #define DEBUG_H_ + + void debug_stacks(Bedrock *br); + void debug_assert(Bedrock *br); + +#endif -- cgit v1.2.3-70-g09d2