fat vbr: fix incorrect addition of partition offset
This commit is contained in:
parent
50aa6e4eec
commit
c06c6ac918
@ -112,7 +112,7 @@ offset_fat: ; add reserved sectors
|
|||||||
adc dx, 0
|
adc dx, 0
|
||||||
offset_part: ; add partition offset
|
offset_part: ; add partition offset
|
||||||
add ax, [bp+BPBHS]
|
add ax, [bp+BPBHS]
|
||||||
add dx, [bp+BPBHS]
|
add dx, [bp+BPBHS+2]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
resetbuf: ; DS = ES
|
resetbuf: ; DS = ES
|
||||||
|
Loading…
Reference in New Issue
Block a user