Browse Source

Enable A20 line at boot.

Andreas Kling 6 years ago
parent
commit
99ee6acd69
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Kernel/Boot/boot.asm

+ 4 - 0
Kernel/Boot/boot.asm

@@ -21,6 +21,10 @@ boot:
     cmp     al, 0
     jne     .lewp
 
+    ; Enable A20
+    mov     ax, 0x2401
+    int     0x15
+
     mov     bx, 0x1000
     mov     es, bx
     xor     bx, bx              ; Load kernel @ 0x10000