This commit is contained in:
Kartik K. Agaram 2021-03-21 21:53:51 -07:00
parent 13d24889e0
commit 36dd179f49
1 changed files with 3 additions and 3 deletions

View File

@ -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