mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Turn off the floppy drive after the boot loader is finished.
This commit is contained in:
parent
3db8d7ae1a
commit
42c88b5f2d
Notes:
sideshowbarker
2024-07-19 18:37:49 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/42c88b5f2d0
2 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ boot:
|
|||
|
||||
call durk
|
||||
|
||||
; Turn off the floppy motor.
|
||||
mov dx, 0x3f2
|
||||
xor al, al
|
||||
out dx, al
|
||||
|
||||
lgdt [cs:test_gdt_ptr]
|
||||
|
||||
mov eax, cr0
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue