Explorar el Código

clear screen on boot

greatbridf hace 4 años
padre
commit
959bc32960
Se han modificado 1 ficheros con 5 adiciones y 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