Displaying 5 results from an estimated 5 matches for "msg_bootlogo_toobig".
2009 Jul 15
0
[PATCH] gfxboot: display error message if bootlogo file not found
...40-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
2009 Jul 15
0
[PATCH] gfxboot: only call gfxboot core if labels are specified
...3c80/modules/gfxboot.asm
@@ -144,7 +144,15 @@ got_config_file:
push cs
pop es
call parse_config
+ cmp word [label_cnt],0
+ ja labels_defined
+ mov bx,msg_no_labels_defined
+ mov ax,2
+ int 22h
+ ret
+
+labels_defined:
; get_gfx_file
mov ax,cs
add ax,2000h
@@ -899,6 +907,7 @@ msg_bootlogo_toobig db 'bootlogo file to
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_no_labels_defined db 'No labels defined in config file',0dh,0ah,0
msg_space db ...
2009 Jul 15
1
[PATCH] gfxboot: remove obsolete message regarding pxelinux support
...ux-3.82-440-g6483c80.orig/modules/gfxboot.asm
+++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm
@@ -968,7 +968,6 @@ msg_missing db 'missing',0
msg_usage db 'Usage: gfxboot.com <bootlogo>',0dh,0ah,0
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_no_labels_defined db 'No labels defined in config file',0dh,0ah...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...; si - file handle
+; eax - length of file in bytes, or -1
+; cx - file block size
+
+ mov [file_length],eax
+ mov edx,eax
+ mov [gfx_archive_end],edx
+ mov edi, [gfx_mem]
+ mov eax,[gfx_mem0_start]
+ lea eax,[eax+edx+0fh]
+ cmp eax,[gfx_mem0_end]
+ jbe read_bootlogo
+
+ mov ax,2
+ mov bx,msg_bootlogo_toobig
+ int 22h
+ stc
+ ret
+
+read_bootlogo:
+ mov [gfx_mem0_start],eax
+ mov eax,[file_length]
+; read file
+; si - file handle
+; es:bx - buffer
+; cx - number of blocks to read
+
+read:
+ push eax
+ mov ax,7
+ mov bx,trackbuf
+ mov cx,[BufSafe]
+ int 22h
+
+ push edi
+ push ecx
+ push si...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...d]
+ sub edx,[gfx_mem0_start]
+ sub edx,0fh ; space to allow for aligning later
+ ; edx: max allowed size
+
+ cmp eax,-1 ; unknown file size -> set to max allowed size
+ jnz .has_size
+ mov eax,edx
+.has_size:
+ cmp eax,edx
+ jbe read_bootlogo
+
+gfx_file_too_big:
+ mov ax,2
+ mov bx,msg_bootlogo_toobig
+ int 22h
+ stc
+ ret
+
+read_bootlogo:
+ mov [file_length],eax
+ mov edi,[gfx_mem]
+
+; read file
+; si - file handle
+; es:bx - buffer
+; cx - number of blocks to read
+
+read:
+ push eax
+ mov ax,7
+ mov bx,trackbuf
+ mov cx,[BufSafe]
+ int 22h
+
+ push edi
+ push ecx
+ push si
+ p...