summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Display/vga-vesa.wtf.asm
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-08 18:32:36 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-08 18:32:36 +0100
commit4bbc1baf27573b4ca6fe6d8ed18b236ac3c631d2 (patch)
tree3e0a5981eed78336bbd5baf7c6be50cd518be1fa /Source/Kernel/Devices/Display/vga-vesa.wtf.asm
parent699a1497a4eb432f41d643a18f2ac6ba10a66518 (diff)
downloadMelon-4bbc1baf27573b4ca6fe6d8ed18b236ac3c631d2.tar.gz
Melon-4bbc1baf27573b4ca6fe6d8ed18b236ac3c631d2.zip
Switching to text mode now really switches to text mode.
Diffstat (limited to 'Source/Kernel/Devices/Display/vga-vesa.wtf.asm')
-rw-r--r--Source/Kernel/Devices/Display/vga-vesa.wtf.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Kernel/Devices/Display/vga-vesa.wtf.asm b/Source/Kernel/Devices/Display/vga-vesa.wtf.asm
new file mode 100644
index 0000000..c7b6bb5
--- /dev/null
+++ b/Source/Kernel/Devices/Display/vga-vesa.wtf.asm
@@ -0,0 +1,11 @@
+[BITS 16]
+
+[GLOBAL setvgamode]
+setvgamode:
+ dw setvgamode_end - setvgamode_start
+setvgamode_start:
+ int 60
+ int 10h
+ int 3
+setvgamode_end:
+ db 0