mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Enable A20 line at boot.
This commit is contained in:
parent
601d0d1739
commit
99ee6acd69
Notes:
sideshowbarker
2024-07-19 18:37:39 +09:00
Author: https://github.com/awesomekling
Commit: 99ee6acd69
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue