Skip to content

Commit

Permalink
Enable A20 line at boot.
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Oct 27, 2018
1 parent 601d0d1 commit 99ee6ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Kernel/Boot/boot.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99ee6ac

Please sign in to comment.