Browse Source

clear screen on boot

greatbridf 4 years ago
parent
commit
959bc32960
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/boot.s

+ 5 - 0
src/boot.s

@@ -57,6 +57,11 @@ loader_start:
     movw %cs, %ax
     movw %ax, %ds
 
+_clear_screen:
+    mov $0x00, %ah
+    mov $0x03, %al
+    int $0x10
+
 # get memory size info and storage it
 _get_memory_size:
     xorw %cx, %cx