aboutsummaryrefslogtreecommitdiffstats
path: root/armmaku/armmaku_data.S
diff options
context:
space:
mode:
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