about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--boot.subx20
1 files changed, 10 insertions, 10 deletions
diff --git a/boot.subx b/boot.subx
index 52724497..a06cec44 100644
--- a/boot.subx
+++ b/boot.subx
@@ -70,13 +70,13 @@
   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 0/imm8/head
+  b6/copy-to-dh 0/imm8/head                   # <====
   b1/copy-to-cl 2/imm8/sector  # 1-based
   b0/copy-to-al 0x7d/imm8/num-sectors  # 2*63 - 1 = 125
   # address to write sectors to = es:bx = 0x7e00, contiguous with boot segment
   bb/copy-to-bx 0/imm16
   8e/->seg 3/mod/direct 3/rm32/bx 0/r32/es
-  bb/copy-to-bx 0x7e00/imm16
+  bb/copy-to-bx 0x7e00/imm16                  # <====
   cd/syscall 0x13/imm8/bios-disk-services
   0f 82/jump-if-carry disk_error/disp16
 
@@ -84,11 +84,11 @@
   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 2/imm8/head
+  b6/copy-to-dh 2/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 = 0x17800, contiguous with boot segment
-  bb/copy-to-bx 0x1780/imm16
+  bb/copy-to-bx 0x1780/imm16                  # <====
   8e/->seg 3/mod/direct 3/rm32/bx 0/r32/es
   bb/copy-to-bx 0/imm16
   cd/syscall 0x13/imm8/bios-disk-services
@@ -98,11 +98,11 @@
   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 4/imm8/head
+  b6/copy-to-dh 4/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 = 0x27400, contiguous with boot segment
-  bb/copy-to-bx 0x2740/imm16
+  bb/copy-to-bx 0x2740/imm16                  # <====
   8e/->seg 3/mod/direct 3/rm32/bx 0/r32/es
   bb/copy-to-bx 0/imm16
   cd/syscall 0x13/imm8/bios-disk-services
@@ -112,11 +112,11 @@
   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 6/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 = 0x37000, contiguous with boot segment
-  bb/copy-to-bx 0x3700/imm16
+  bb/copy-to-bx 0x3700/imm16                  # <====
   8e/->seg 3/mod/direct 3/rm32/bx 0/r32/es
   bb/copy-to-bx 0/imm16
   cd/syscall 0x13/imm8/bios-disk-services
@@ -126,11 +126,11 @@
   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 8/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
-  bb/copy-to-bx 0x46c0/imm16
+  bb/copy-to-bx 0x46c0/imm16                  # <====
   8e/->seg 3/mod/direct 3/rm32/bx 0/r32/es
   bb/copy-to-bx 0/imm16
   cd/syscall 0x13/imm8/bios-disk-services