diff options
Diffstat (limited to 'src/boot.asm')
-rw-r--r-- | src/boot.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot.asm b/src/boot.asm index 28d1a89..08b2834 100644 --- a/src/boot.asm +++ b/src/boot.asm @@ -20,8 +20,7 @@ pae_support equ 0x40 mov ss, ax mov sp, 0x7ffc - mov ah, 0x01 - mov ch, 0x3f + mov ax, 0x0013 int 0x10 mov ax, kernel_segment @@ -90,6 +89,7 @@ bits 32 pmode: mov ax, 0x18 mov ds, ax + mov es, ax mov ss, ax mov esp, 0x00040000 @@ -115,4 +115,4 @@ gdt: dq 0x00cf_f200_0000_ffff;0x28: user data .e: -dw 0xaa55
\ No newline at end of file +dw 0xaa55 |