fix a bug in loading code disk

Identical bug to commit 2f10bc7302.
This commit is contained in:
Kartik K. Agaram 2021-05-29 18:43:16 -07:00
parent 9516dfa0b0
commit 1d89aa38c2
1 changed files with 1 additions and 1 deletions

View File

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