diff --git a/arch/x86_64/start_64.S b/arch/x86_64/start_64.S index 0b80030..87adb24 100644 --- a/arch/x86_64/start_64.S +++ b/arch/x86_64/start_64.S @@ -15,10 +15,10 @@ kernel_identifier: vga_clear: mov $0xb8000, %rdi # VGA buffer - mov $500, %rcx # 4,000 bytes to clear = 500 quadwords - mov $0x0, %rax + mov $1000, %rcx # 4,000 bytes to clear = 2,000 words + mov $0x0700, %rax - rep stosq + rep stosw ret