fat vbr: fix incorrect addition of partition offset
This commit is contained in:
parent
50aa6e4eec
commit
c06c6ac918
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ offset_fat: ; add reserved sectors
|
|||
adc dx, 0
|
||||
offset_part: ; add partition offset
|
||||
add ax, [bp+BPBHS]
|
||||
add dx, [bp+BPBHS]
|
||||
add dx, [bp+BPBHS+2]
|
||||
ret
|
||||
|
||||
resetbuf: ; DS = ES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue