Displaying 5 results from an estimated 5 matches for "abort_load".
2010 Sep 14
0
Handling error scenarios in the core
...) core/com32.inc: not_com32r jumps to enter_command. Should it do
something based on ONERROR?
2) core/comboot.inc: comboot_bogus_tail and comboot_too_large go to
enter_command. Again, use ONERROR?
There may be more that I'm missing. I know bad_implicit/bad_kernel
and error_or_command (from abort_load) already use it. I know
abort_check (executed with user input) does not but this one make a
lot of sense as it's not a system error.
3) core/ui.inc and core/abort.inc: bad_implicit/bad_kernel is silent
if there's an ONERROR but any other function that calls abort_load is
not. Is this the...
2003 Dec 27
0
2 disks boot patch
...end
initrd_notthere:
mov si,err_noinitrd
call cwritestr
mov si,InitRDCName
call cwritestr
mov si,crlf_msg
+; begin - freddy77
+ cmp byte [initrd_span], 0
+ jne retry_disk
+; end - freddy77
jmp abort_load
no_high_mem: mov si,err_nohighmem ; Error routine
jmp abort_load
+; begin - freddy77
+change_disk:
+ mov si, change_disk_msg
+ call cwritestr
+ xor ax, ax
+ int 16h
+ call load_fat
+ ret
+; end - freddy77
+
initrd_end:
nk_noinitrd:
;
; Abandon hope, ye that enter...
2003 Dec 27
0
FW: 2 disks boot patch
...end
initrd_notthere:
mov si,err_noinitrd
call cwritestr
mov si,InitRDCName
call cwritestr
mov si,crlf_msg
+; begin - freddy77
+ cmp byte [initrd_span], 0
+ jne retry_disk
+; end - freddy77
jmp abort_load
no_high_mem: mov si,err_nohighmem ; Error routine
jmp abort_load
+; begin - freddy77
+change_disk:
+ mov si, change_disk_msg
+ call cwritestr
+ xor ax, ax
+ int 16h
+ call load_fat
+ ret
+; end - freddy77
+
initrd_end:
nk_noinitrd:
;
; Abandon hope, ye that enter...
2002 Jan 12
0
no echo patch
...call cwritestr
jmp short get_char_2
set_func_flag:
@@ -1494,7 +1494,7 @@
mov si,err_notfound ; Complain about missing kernel
call cwritestr
pop si ; KernelCName
- call cwritestr
+;Martin call cwritestr
mov si,crlf_msg
jmp abort_load ; Ask user for clue
;
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...ding
+ call cwritestr
+
+ push bx
+ mov ax,0201h ; read disk, 1 sector
+ mov bx,trackbuf
+ mov cx,1 ; track 0, sector 1
+ xor dh,dh ; head 0
+ mov dl,81h ; second hard drive
+ int 13h
+ pop bx
+ jnc swap_read_ok
+ call crlf
+ mov si,swap_failed
+ jmp abort_load
+swap_read_ok:
+
+ mov bx,[bsBytesPerSec]
+ mov ax,[bx+trackbuf-2]
+ cmp ax,0AA55h ; Boot sector signature
+ je swap_bootsec_ok
+ jmp bad_bootsec
+swap_bootsec_ok:
+
+ call crlf
+ mov si,swap_booting
+ call cwritestr
+
+ push es
+
+ mov ax,[413h] ; Memory si...