blob: f45eadb7563cb3e7c6c3a26c5581480068d81906 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// ================================================================================================
// Constants
// ================================================================================================
.equ VP_W, 800
.equ VP_H, 600
// ================================================================================================
// Read-only data
// ================================================================================================
SECTION_RODATA
s_microshmup: .asciz "microshmup"
s_microshmup_error: .asciz "microshmup - 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
|