aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-30 15:55:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-30 15:55:29 -0700
commitbdbc445ccd0fb075f2e13b4f6e82067e8ae6f217 (patch)
tree553fdc556ccd633f1cdf7f4d3cc1c51311fd900f
parent0237ad66429722f9653fd274e2b978ff4cc374e5 (diff)
downloadsyslinux.git-bdbc445ccd0fb075f2e13b4f6e82067e8ae6f217.tar.gz
syslinux.git-bdbc445ccd0fb075f2e13b4f6e82067e8ae6f217.tar.xz
syslinux.git-bdbc445ccd0fb075f2e13b4f6e82067e8ae6f217.zip
ADV: EDD "write with verify" is AL=01h or AL=02h, not AL=80h
The "write with verify" functionality in EDD is AL=01h or AL=02h depending on EDD version, not AL=80h. Since it is apparently version-dependent, don't even try to do it; furthermore, some BIOSes are known to reject a write with this feature requested no matter what. At some point we may want to explicitly read back to verify. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/adv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/adv.inc b/core/adv.inc
index 03bb25d8..d856a1a2 100644
--- a/core/adv.inc
+++ b/core/adv.inc
@@ -384,7 +384,7 @@ adv_read_write:
mov si,sp
pushad
mov dl,[ADVDrive]
- mov ax,4080h
+ mov ax,4000h
or ah,[ADVOp]
push ds
push ss