aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2001-01-19 22:48:51 +0000
committerhpa <hpa>2001-01-19 22:48:51 +0000
commit88970db8fac6b04dbffa1e78510b6a04f0507757 (patch)
treed51a9b78190eaff37ea476b0af6f9b3a718d3466
parent4af8c7190cfdbe1c05cf65b408e3abdde91b0667 (diff)
downloadsyslinux.git-88970db8fac6b04dbffa1e78510b6a04f0507757.tar.gz
syslinux.git-88970db8fac6b04dbffa1e78510b6a04f0507757.tar.xz
syslinux.git-88970db8fac6b04dbffa1e78510b6a04f0507757.zip
Fix really embarrassing A20 test bug.
xCVS: ----------------------------------------------------------------------
-rw-r--r--ldlinux.asm2
-rw-r--r--pxelinux.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 5319598b..74fb5f3d 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -2663,7 +2663,7 @@ a20_test:
push cx
push ax
mov cx,0FFFFh ; HMA = segment 0FFFFh
- mov es,ax
+ mov es,cx
mov cx,0100h ; Loop count
mov ax,[ss:A20Test]
.a20_wait: inc ax
diff --git a/pxelinux.asm b/pxelinux.asm
index c4844a73..89067584 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -2244,7 +2244,7 @@ a20_test:
push cx
push ax
mov cx,0FFFFh ; HMA = segment 0FFFFh
- mov es,ax
+ mov es,cx
mov cx,0100h ; Loop count
mov ax,[ss:A20Test]
.a20_wait: inc ax