diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-21 21:53:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-21 21:53:51 -0700 |
commit | 36dd179f4912fe51ac1780a06772f2662213733f (patch) | |
tree | 8fe18de9ae7836229741d2512e03ad6ccec843f9 | |
parent | 13d24889e072a4bb2ba3da36e2ad5082a8f5132a (diff) | |
download | mu-36dd179f4912fe51ac1780a06772f2662213733f.tar.gz |
.
-rw-r--r-- | boot.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.subx b/boot.subx index 6b0eeab9..bae5b553 100644 --- a/boot.subx +++ b/boot.subx @@ -67,7 +67,7 @@ b4/copy-to-ah 2/imm8 # read sectors from disk # dl comes conveniently initialized at boot time with the index of the device being booted b5/copy-to-ch 0/imm8 # cylinder 0 - b6/copy-to-dh 0/imm8 # track 0 + b6/copy-to-dh 0/imm8 # head 0 b1/copy-to-cl 2/imm8 # second sector, 1-based b0/copy-to-al 0x7d/imm8 # number of sectors to read = 2*63 - 1 = 125 # address to write sectors to = es:bx = 0x7e00, contiguous with boot segment @@ -81,7 +81,7 @@ b4/copy-to-ah 2/imm8 # read sectors from disk # 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 # track + b6/copy-to-dh 2/imm8 # head b1/copy-to-cl 1/imm8 # sector, 1-based b0/copy-to-al 0x7e/imm8 # number of sectors to read = 2*63 = 126 # address to write sectors to = es:bx = 0x17800, contiguous with boot segment @@ -95,7 +95,7 @@ b4/copy-to-ah 2/imm8 # read sectors from disk # 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 # track + b6/copy-to-dh 4/imm8 # head b1/copy-to-cl 1/imm8 # sector, 1-based b0/copy-to-al 0x7e/imm8 # number of sectors to read = 2*63 = 126 # address to write sectors to = es:bx = 0x27400, contiguous with boot segment |