mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 19:15:55 +00:00
Turn off the floppy drive after the boot loader is finished.
This commit is contained in:
parent
3db8d7ae1a
commit
42c88b5f2d
|
@ -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…
Reference in a new issue