From 20a07f04211367537c99b4affa126f9dd519fddb Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Sat, 18 Jul 2009 17:01:19 +0200 Subject: gfxboot: display error message if bootlogo file not found Display an error message if the user specified bootlogo file is not found. Signed-off-by: Sebastian Herbszt --- modules/gfxboot.asm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/gfxboot.asm b/modules/gfxboot.asm index 6d41db76..9555d26f 100644 --- a/modules/gfxboot.asm +++ b/modules/gfxboot.asm @@ -417,6 +417,14 @@ gfx_read_file: mov si,pspCmdArg+1 int 22h jnc gfx_file_read + + mov ax,2 + mov bx,pspCmdArg+1 + int 22h + + mov ax,2 + mov bx,msg_not_found + int 22h stc ret @@ -890,6 +898,7 @@ msg_memory db 'Could not detect available memory size',0dh,0ah,0 msg_bootlogo_toobig db 'bootlogo file too big',0dh,0ah,0 msg_pxelinux db 'pxelinux is not supported',0dh,0ah,0 msg_unknown_file_size db 'unknown file size',0dh,0ah,0 +msg_not_found db ' not found',0dh,0ah,0 msg_space db ' ',0 msg_crlf db 0dh,0ah,0 -- cgit v1.2.1