aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>1998-05-08 00:03:30 +0000
committerhpa <hpa>1998-05-08 00:03:30 +0000
commitf3b8172004b5d33ea39eecf55866ce308cda01cd (patch)
tree1e6852257e6f3906d0f021cc6082a53ac2534845
parent75fb46f093c81f964e580adfed07ad07b3d176da (diff)
downloadsyslinux.git-f3b8172004b5d33ea39eecf55866ce308cda01cd.tar.gz
syslinux.git-f3b8172004b5d33ea39eecf55866ce308cda01cd.tar.xz
syslinux.git-f3b8172004b5d33ea39eecf55866ce308cda01cd.zip
Make sure we set DF := 0 after returning from a COMBOOT program.
-rw-r--r--ldlinux.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 5482074e..c15e9b19 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -2124,6 +2124,7 @@ comboot_return: cli ; Don't trust anyone
mov ds,ax
mov es,ax
sti
+ cld
jmp short cb_enter
; Attempted to execute DOS system call
@@ -2134,6 +2135,7 @@ comboot_bogus: cli ; Don't trust anyone
mov ds,ax
mov es,ax
sti
+ cld
mov si,KernelCName
call writestr
mov si,err_notdos