about summary refs log tree commit diff stats
path: root/apps/boot.hex
diff options
context:
space:
mode:
Diffstat (limited to 'apps/boot.hex')
-rw-r--r--apps/boot.hex4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/boot.hex b/apps/boot.hex
index fc80b442..a95c1de7 100644
--- a/apps/boot.hex
+++ b/apps/boot.hex
@@ -34,10 +34,10 @@
 # 00:
 # load_disk:
   b4 02  # ah <- 2  # read sectors from disk
-  b2 00  # dl <- 0  # drive 0
+  b2 80  # dl <- 80  # hdd 0
   b5 00  # ch <- 0  # cylinder 0
   b6 00  # dh <- 0  # track 0
-  b1 02  # cl <- 2  # sector 1 (second sector, 1-based)
+  b1 01  # cl <- 1  # sector 0 (first sector, 1-based)
   b0 01  # al <- 1  # number of sectors to read
   # address to write sectors to = es:bx = 0x7e00, contiguous with boot segment
   bb 00 00  # bx <- 0