Displaying 3 results from an estimated 3 matches for "default_keyword".
2009 Apr 09
0
[PATCH] gfxboot: parse DEFAULT keywork in syslinux config file
...ov [menu_desc+menu_default+2],di
+ mov word [menu_desc+menu_default],dentry_buf
+ mov [menu_desc+menu_default+2],cs
mov di,256
mov [menu_desc+menu_arg_list],di
@@ -699,6 +699,17 @@ parse_config:
pop si
jz .do_label
+ push si
+ push di
+ xor ecx,ecx
+ mov si,configbuf
+ mov di,default_keyword+1
+ mov cl, byte [default_keyword]
+ call memcmp
+ pop di
+ pop si
+ jz .do_default
+
.nextline:
call skipline
jmp .read
@@ -723,6 +734,22 @@ parse_config:
jmp .read
+.do_default:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ push cs
+ pop es...
2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...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
- mov cl, byte [default_keyword]
- call memcmp
- pop di
- pop si
- jz .do_default
+.not_found:
+ add bx,4
+ pop cx
+ loop .keywords_loop
.nextline:
call skipline
jmp .read
-.do_label:
+.eof:
+.noparm:
+ ret
+
+do_label:
call skipspace
jz .eof
jc .noparm
@@ -742,10 +74...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
This is the latest version of the gfxboot module. It's supposed to work on
all Syslinux derivatives.
I am not sure about the copyright notice and would appreciate any input.
- Sebastian
Index: syslinux-3.74-pre17-2-g2a9ddec/modules/Makefile
===================================================================
--- syslinux-3.74-pre17-2-g2a9ddec.orig/modules/Makefile
+++