projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ec84b
)
Generate the length correctly
author
hpa
<hpa>
Thu, 16 Dec 2004 08:27:54 +0000
(08:27 +0000)
committer
hpa
<hpa>
Thu, 16 Dec 2004 08:27:54 +0000
(08:27 +0000)
ldlinux.asm
patch
|
blob
|
history
diff --git
a/ldlinux.asm
b/ldlinux.asm
index
1aaa2b8
..
157fae9
100644
(file)
--- a/
ldlinux.asm
+++ b/
ldlinux.asm
@@
-1158,8
+1158,8
@@
searchdir:
add edx,[DataArea]
mov [bx],edx ; Starting sector
- mov e
dx,eax
-
shr edx,16
; 16-bitism, sigh
+ mov e
ax,[gs:si+28] ; File length again
+
mov dx,[gs:si+30]
; 16-bitism, sigh
mov si,bx
and eax,eax ; ZF <- 0