aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-09-12 14:42:38 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-09-12 14:42:38 +0200
commit1d423d83b5ab78dc15fd13f2e3a37a09a4cfe419 (patch)
treee4e17b93c9e8c79f9f9741f0caf6b457d6d6cec3
parent797323f2f97d764eaf60a2576f401d6ab2e5f20c (diff)
Read from correct hard drive
-rw-r--r--stage1/boot.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/boot.asm b/stage1/boot.asm
index 7d6293d..093eca5 100644
--- a/stage1/boot.asm
+++ b/stage1/boot.asm
@@ -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