소스 검색

clear screen on boot

greatbridf 4 년 전
부모
커밋
959bc32960
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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