Move "call vgaclearmode" in case of kaboom to the correct version
authorhpa <hpa>
Tue, 10 Apr 2001 00:09:26 +0000 (00:09 +0000)
committerhpa <hpa>
Tue, 10 Apr 2001 00:09:26 +0000 (00:09 +0000)
of the kaboom routine!

ldlinux.asm

index 5056550..d8c717c 100644 (file)
@@ -556,7 +556,6 @@ kaboom:
                call writestr           ; Returns with AL = 0
                cbw                     ; AH <- 0
                int 16h                 ; Wait for keypress
-               call vgaclearmode
                int 19h                 ; And try once more to boot...
 .norge:                jmp short .norge        ; If int 19h returned; this is the end
 
@@ -3412,6 +3411,7 @@ kaboom2:
                mov si,err_bootfailed
                call cwritestr
                call getchar
+               call vgaclearmode
                int 19h                 ; And try once more to boot...
 .norge:                jmp short .norge        ; If int 19h returned; this is the end