]> git.lizzy.rs Git - loadnothing.git/commitdiff
Read from correct hard drive
authorHimbeerserverDE <himbeerserverde@gmail.com>
Mon, 12 Sep 2022 12:42:38 +0000 (14:42 +0200)
committerHimbeerserverDE <himbeerserverde@gmail.com>
Mon, 12 Sep 2022 12:42:38 +0000 (14:42 +0200)
stage1/boot.asm

index 7d6293d544528e38233f71a1da2bb249d96a00d8..093eca5dc4fd7f6b15227e8551c8100f92902a68 100644 (file)
@@ -73,7 +73,7 @@ boot:
        xor ch, ch          ; Cylinder 0
        mov cl, 2           ; Second sector, they start at 1
        xor dh, dh          ; Head 0
-       xor dl, dl          ; Drive 0
+       mov dl, 0x80        ; Hard Drive 1
        mov bx, STAGE2START ; Memory address to load stage 2 into
        int 0x13