aboutsummaryrefslogtreecommitdiffstats
path: root/armmaku/armmaku_data.S
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-11-14 18:38:26 -0600
committerHunter Kvalevog <hunter@kvog.sh>2026-11-14 18:38:26 -0600
commitc12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3 (patch)
tree7d07f454d406408354cb67132244574f44a77b97 /armmaku/armmaku_data.S
parent64321f1b4b50c46ae57f8c083bc110a75849dd9d (diff)
downloaddemos-c12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3.tar.gz
demos-c12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3.zip
Diffstat (limited to 'armmaku/armmaku_data.S')
-rw-r--r--armmaku/armmaku_data.S31
1 files changed, 31 insertions, 0 deletions
diff --git a/armmaku/armmaku_data.S b/armmaku/armmaku_data.S
new file mode 100644
index 0000000..8edc19e
--- /dev/null
+++ b/armmaku/armmaku_data.S
@@ -0,0 +1,31 @@
+// ================================================================================================
+// Constants
+// ================================================================================================
+
+.equ VP_W, 800
+.equ VP_H, 600
+
+// ================================================================================================
+// Read-only data
+// ================================================================================================
+SECTION_RODATA
+
+s_armmaku: .asciz "armmaku"
+s_armmaku_error: .asciz "armmaku - error"
+s_software: .asciz "software"
+
+s_test: .asciz "hello world"
+
+.p2align 3
+.global g_font
+g_font:
+ .incbin "data/IBM_VGA_8x14.bin"
+
+// ================================================================================================
+// Mutable data
+// ================================================================================================
+SECTION_BSS
+.p2align 3
+
+g_fbufmap: .zero 8 // frame buffer data
+g_fstride: .zero 4 // frame buffer stride