summaryrefslogtreecommitdiff
path: root/arm9/source/debug.h
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2024-11-19 17:52:36 +1300
committerBen Bridle <ben@derelict.engineering>2024-11-19 17:52:36 +1300
commita1b95e9ccf9bd7b316adf21952e43e03f2bf3746 (patch)
tree7bcc8d28f3de0f222c23e23c79ce15d400bee8d0 /arm9/source/debug.h
parent008b816edbd4e241975822f8b7d8765a869fa404 (diff)
downloadbedrock-nds-a1b95e9ccf9bd7b316adf21952e43e03f2bf3746.zip
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
Diffstat (limited to 'arm9/source/debug.h')
-rw-r--r--arm9/source/debug.h7
1 files changed, 7 insertions, 0 deletions
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