This commit is contained in:
Baptiste Wicht 2013-12-08 13:45:41 +01:00
parent e0c38a1274
commit 29bf691713

View File

@ -39,6 +39,7 @@ second_step:
xor di, di xor di, di
.next: .next:
; Make sure the second part of the address is 0x0
xor bx, bx xor bx, bx
; Read one sector ; Read one sector
@ -90,7 +91,7 @@ second_step:
cmp dh, 2 cmp dh, 2
jne .next_sector jne .next_sector
mov dh, 0 xor dh, dh
mov [head], dh mov [head], dh
mov ch, [cylinder] mov ch, [cylinder]