diff options
| author | Carlos Maiolino <[email protected]> | 2025-07-17 19:20:27 +0200 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-07-17 19:20:27 +0200 |
| commit | 9474d5fd709f6d26e09e6aebf82f2c83d1dd2e87 (patch) | |
| tree | 7180dea6191bcac01d03338bcb4e82b5cc8941e0 /src/boot | |
| parent | a485d59fdaf7b768f95539991d72421fb0ec85de (diff) | |
Enable A20 line
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/bootloader.asm | 6 |
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 |
