summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bootloader.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/boot/bootloader.asm b/src/boot/bootloader.asm
index f42e702..fc17af8 100644
--- a/src/boot/bootloader.asm
+++ b/src/boot/bootloader.asm
@@ -87,6 +87,12 @@ start_32:
; Set the stack pointer and base pointer further in mem
mov ebp, 0x00200000
mov esp, ebp
+
+ ; Enable A20 line
+ in al, 0x92
+ or al, 2
+ out 0x92, al
+
jmp $
; Fill in to the end and add bootloader signature