Displaying 4 results from an estimated 4 matches for "label_keyword".
2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...ig/modules/gfxboot.asm
+++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm
@@ -699,33 +699,39 @@ parse_config:
mov bx, msg_crlf
int 22h
%endif
+ mov bx,keywords
+ mov cx,[keyword_cnt]
+.keywords_loop:
+ push cx
push si
push di
- xor ecx,ecx
+ xor cx,cx
mov si,configbuf
- mov di,label_keyword+1
- mov cl, byte [label_keyword]
+ mov di,[bx]
+ mov cl,byte [di]
+ inc di
call memcmp
pop di
pop si
- jz .do_label
+ jnz .not_found
+ pop cx
+ call [bx+2] ; call keyword handler
+ jmp .read
- push si
- push di
- xor ecx,ecx
- mov si,configbuf
- mov di,default_keyword+1
-...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...jbe .done
+ or al,20h ; convert to lower case
+ stosb
+ jmp .read_loop
+.done:
+ call ungetc
+
+ xor ax,ax
+ stosb
+%ifdef DEBUG
+ mov ax,2
+ mov bx, configbuf
+ int 22h
+
+ mov ax,2
+ mov bx, msg_crlf
+ int 22h
+%endif
+ push si
+ push di
+ xor ecx,ecx
+ mov si,configbuf
+ mov di,label_keyword+1
+ mov cl, byte [label_keyword]
+ call memcmp
+ pop di
+ pop si
+ jz .do_label
+
+.nextline:
+ call skipline
+ jmp .read
+
+.do_label:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ mov ax,[menu_seg]
+ mov es,ax
+ mov di,[menu_off]
+ call getline
+ mo...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...jbe .done
+ or al,20h ; convert to lower case
+ stosb
+ jmp .read_loop
+.done:
+ call ungetc
+
+ xor ax,ax
+ stosb
+%ifdef DEBUG
+ mov ax,2
+ mov bx, configbuf
+ int 22h
+
+ mov ax,2
+ mov bx, msg_crlf
+ int 22h
+%endif
+ push si
+ push di
+ xor ecx,ecx
+ mov si,configbuf
+ mov di,label_keyword+1
+ mov cl, byte [label_keyword]
+ call memcmp
+ pop di
+ pop si
+ jz .do_label
+
+.nextline:
+ call skipline
+ jmp .read
+
+.do_label:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ mov ax,[menu_seg]
+ mov es,ax
+ mov di,[menu_off]
+ call getline
+ mo...
2009 Apr 09
0
[PATCH] gfxboot: parse DEFAULT keywork in syslinux config file
...default:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ push cs
+ pop es
+ mov di,dentry_buf
+ call getline
+ pop di
+ pop es
+
+ jmp .read
+
.eof:
.noparm:
ret
@@ -854,6 +881,7 @@ configbuf times trackbufsize db 0
ungetc_cnt db 0
ungetcdata db 0
label_keyword db 6,''label'',0
+default_keyword db 7,''default'',0
label_cnt dw 0
msg_progname db ''gfxboot: '',0
@@ -875,6 +903,8 @@ gfx_slash db ''/'', 0
db0 db 0
max_cmd_len equ 2047
command_line times max_cmd_len+2 db 0
+dentry_b...