From 1d89aa38c20971746380052c4988f18dd9b8e765 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 29 May 2021 18:43:16 -0700 Subject: [PATCH] fix a bug in loading code disk Identical bug to commit 2f10bc7302. --- boot.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.subx b/boot.subx index 7baf88e8..52724497 100644 --- a/boot.subx +++ b/boot.subx @@ -126,7 +126,7 @@ b4/copy-to-ah 2/imm8/read-drive # dl comes conveniently initialized at boot time with the index of the device being booted b5/copy-to-ch 0/imm8/cylinder - b6/copy-to-dh 6/imm8/head + b6/copy-to-dh 8/imm8/head b1/copy-to-cl 1/imm8/sector # 1-based b0/copy-to-al 0x7e/imm8/num-sectors # 2*63 = 126 # address to write sectors to = es:bx = 0x46c00, contiguous with boot segment