If we get a disk error, do the "kaboom" thing.
authorhpa <hpa>
Mon, 9 Apr 2001 19:48:23 +0000 (19:48 +0000)
committerhpa <hpa>
Mon, 9 Apr 2001 19:48:23 +0000 (19:48 +0000)
isolinux.asm

index 214160e..5b22f84 100644 (file)
@@ -717,10 +717,26 @@ xint13:           mov byte [RetryCount], 6
                mov al,dl
                call writehex2
                call crlf
+               ; Fall through to kaboom
 
+;
+; kaboom: write a message and bail out.  Wait for a user keypress,
+;        then do a hard reboot.
+;
+kaboom:
+               lss sp,[cs:Stack]
+               mov ax,cs
+               mov ds,ax
+               mov es,ax
+               mov fs,ax
+               mov gs,ax
+               sti
+               mov si,err_bootfailed
+               call cwritestr
+               call getchar
+               int 19h
 .norge:                jmp short .norge
 
-
 ;
 ; Data that needs to be in the first sector
 ;
@@ -2699,25 +2715,6 @@ ac_ret1: ret
 
 
 ;
-; kaboom: write a message and bail out.  Wait for quite a while, or a user keypress,
-;        then do a hard reboot.
-;
-kaboom:
-               lss sp,[cs:Stack]
-               mov ax,cs
-               mov ds,ax
-               mov es,ax
-               mov fs,ax
-               mov gs,ax
-               sti
-               mov si,err_bootfailed
-               call cwritestr
-               call getchar
-               int 19h
-.norge:                jmp short .norge
-
-
-;
 ; searchdir:
 ;
 ;      Open a file