mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Enable A20 line at boot.
This commit is contained in:
@@ -21,6 +21,10 @@ boot:
|
|||||||
cmp al, 0
|
cmp al, 0
|
||||||
jne .lewp
|
jne .lewp
|
||||||
|
|
||||||
|
; Enable A20
|
||||||
|
mov ax, 0x2401
|
||||||
|
int 0x15
|
||||||
|
|
||||||
mov bx, 0x1000
|
mov bx, 0x1000
|
||||||
mov es, bx
|
mov es, bx
|
||||||
xor bx, bx ; Load kernel @ 0x10000
|
xor bx, bx ; Load kernel @ 0x10000
|
||||||
|
|||||||
Reference in New Issue
Block a user