diff options
| author | hpa <hpa> | 2004-12-16 07:47:11 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-12-16 07:47:11 +0000 |
| commit | c82ba595172394c3f2e744cc35231f7c7dee83df (patch) | |
| tree | 8166b1019ec3763aa6f672e32cc61b80af981c65 /ldlinux.asm | |
| parent | af2500694a28ed6e36cf21b81ea054c013b1ed41 (diff) | |
| download | syslinux-c82ba595172394c3f2e744cc35231f7c7dee83df.tar.gz | |
Corrections to self-loading sequence; we now get that far at least
Diffstat (limited to 'ldlinux.asm')
| -rw-r--r-- | ldlinux.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index 66c031b9..8b436163 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -742,6 +742,8 @@ load_rest: .chunk_ready: call getlinsecsr + shl bp,SECTOR_SHIFT + add bx,bp jmp .get_chunk .done: @@ -757,7 +759,7 @@ verify_checksum: mov edx,-LDLINUX_MAGIC .checksum: lodsd - sub edx,eax + add edx,eax loop .checksum and edx,edx ; Should be zero |
