forked from PoliEcho-holding-org/kern
Added disk reset to bootloader
This commit is contained in:
@@ -23,6 +23,11 @@ start:
|
|||||||
|
|
||||||
mov si, msg
|
mov si, msg
|
||||||
call puts
|
call puts
|
||||||
|
|
||||||
|
; Reset disk
|
||||||
|
mov ah, 0x0
|
||||||
|
mov dl, [driveNum]
|
||||||
|
int 0x13
|
||||||
.read:
|
.read:
|
||||||
; Location
|
; Location
|
||||||
mov bx, KERNEL_LOC
|
mov bx, KERNEL_LOC
|
||||||
|
|||||||
Reference in New Issue
Block a user