This commit is contained in:
parent
13d24889e0
commit
36dd179f49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue