From: hpa Date: Thu, 16 Dec 2004 08:23:55 +0000 (+0000) Subject: Cluster -> Sector conversion has to add the DataArea offset X-Git-Tag: syslinux-3.11~308 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9ec84b9fb8cf5aab6331f3585e1ddb0c7ac083f;p=platform%2Fupstream%2Fsyslinux.git Cluster -> Sector conversion has to add the DataArea offset --- diff --git a/ldlinux.asm b/ldlinux.asm index ef59f17..1aaa2b8 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -1155,6 +1155,7 @@ searchdir: mov dx,[gs:si+26] ; Low cluster word sub edx,2 shl edx,cl + add edx,[DataArea] mov [bx],edx ; Starting sector mov edx,eax