Displaying 1 result from an estimated 1 matches for "labels_defin".
Did you mean:
labels_defined
2009 Jul 15
0
[PATCH] gfxboot: only call gfxboot core if labels are specified
.../gfxboot.asm
===================================================================
--- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm
+++ syslinux-3.82-440-g6483c80/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 f...