Explorar o código

clear screen on boot

greatbridf %!s(int64=4) %!d(string=hai) anos
pai
achega
959bc32960
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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