diff options
author | hpa <hpa> | 2003-11-21 08:00:22 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-11-21 08:00:22 +0000 |
commit | 4e754168b72c41cd19d9ae1be835e651ab9d402c (patch) | |
tree | f4f1dac891cd17ee57855445aef7b66cb78d9a70 /bootsect.inc | |
parent | 6c906a898cfcd5232979847b4f14901e68fc9e38 (diff) | |
download | syslinux-4e754168b72c41cd19d9ae1be835e651ab9d402c.tar.gz |
Fix handling of loading large "boot sectors"
Diffstat (limited to 'bootsect.inc')
-rw-r--r-- | bootsect.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootsect.inc b/bootsect.inc index 2fca7818..24ebab6e 100644 --- a/bootsect.inc +++ b/bootsect.inc @@ -36,7 +36,7 @@ load_bootsec: push cx %endif xchg dx,ax - shr eax,16 + shl eax,16 xchg dx,ax ; Now EAX = file length mov edi, 100000h call load_high |