summaryrefslogtreecommitdiff
path: root/core/graphics.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/graphics.inc')
-rw-r--r--core/graphics.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/graphics.inc b/core/graphics.inc
index 78ae0a65..beb9985e 100644
--- a/core/graphics.inc
+++ b/core/graphics.inc
@@ -21,7 +21,7 @@
;
; Assumes CS == DS == ES.
;
- section .text
+ section .text16
vgadisplayfile:
; This is a cheap and easy way to make sure the screen is
@@ -300,7 +300,7 @@ vgacursorcommon:
ret
- section .data
+ section .data16
; Map colors to consecutive DAC registers
linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0
@@ -308,7 +308,7 @@ linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0
; of this byte.
UsingVGA db 0
- section .bss
+ section .bss16
alignb 4
LSSHeader equ $
LSSMagic resd 1 ; Magic number