[syslinux] [PATCH] memdisk: fix check for unchanged INT 15h handler in safeint mode

Sergey Vlasov vsu at altlinux.ru
Wed Oct 15 04:39:54 PDT 2008


Signed-off-by: Sergey Vlasov <vsu at altlinux.ru>
---
 memdisk/memdisk.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

 This fixes the 2-year old typo, but is this check actually required?
 Does using real "int 15h" commands until something other hooks this
 interrupt really matter?

diff --git a/memdisk/memdisk.asm b/memdisk/memdisk.asm
index f1e463b..1fd3329 100644
--- a/memdisk/memdisk.asm
+++ b/memdisk/memdisk.asm
@@ -646,7 +646,7 @@ bcopy:
 
 		push ds
 		xor ax, ax
-		mov fs,ax
+		mov ds,ax
 
 		cmp word [4*0x15], Int15Start
 		jne .changed
-- 
1.5.6.2.305.g2938b




More information about the Syslinux mailing list