mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
Turn off the floppy drive after the boot loader is finished.
This commit is contained in:
parent
3db8d7ae1a
commit
42c88b5f2d
2 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ boot:
|
||||||
|
|
||||||
call durk
|
call durk
|
||||||
|
|
||||||
|
; Turn off the floppy motor.
|
||||||
|
mov dx, 0x3f2
|
||||||
|
xor al, al
|
||||||
|
out dx, al
|
||||||
|
|
||||||
lgdt [cs:test_gdt_ptr]
|
lgdt [cs:test_gdt_ptr]
|
||||||
|
|
||||||
mov eax, cr0
|
mov eax, cr0
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue