Fix for register corruption while displaying F-key help files.
authorhpa <hpa>
Tue, 10 Apr 2001 00:01:02 +0000 (00:01 +0000)
committerhpa <hpa>
Tue, 10 Apr 2001 00:01:02 +0000 (00:01 +0000)
isolinux.asm
ldlinux.asm
pxelinux.asm

index be97c37..701ac5c 100644 (file)
@@ -1453,7 +1453,9 @@ show_help:        ; AX = func key # (0 = F1, 9 = F10)
                add di,FKeyName
                call searchdir
                jz fk_nofile
+               push si
                call crlf
+               pop si
                call get_msg_file
                jmp short fk_wrcmd
 fk_nofile:
index 0eb255a..e0b5e66 100644 (file)
@@ -1549,7 +1549,9 @@ show_help:        ; AX = func key # (0 = F1, 9 = F10)
                add di,FKeyName
                call searchdir
                jz fk_nofile
+               push si
                call crlf
+               pop si
                call get_msg_file
                jmp short fk_wrcmd
 fk_nofile:
index f37868a..fb66ef4 100644 (file)
@@ -1244,7 +1244,9 @@ show_help:        ; AX = func key # (0 = F1, 9 = F10)
                add di,FKeyName
                call searchdir
                jz fk_nofile
+               push si
                call crlf
+               pop si
                call get_msg_file
                jmp short fk_wrcmd
 fk_nofile: