Sebastian Herbszt
2009-Jul-15 19:47 UTC
[syslinux] [PATCH] 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 <herbszt at gmx.de> Index: syslinux-3.82-440-g6483c80/modules/gfxboot.asm ==================================================================--- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm +++ syslinux-3.82-440-g6483c80/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 availab 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