Displaying 6 results from an estimated 6 matches for "msg_crlf".
2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...;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
@@ -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
-...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...3.73-pre6/modules/gfxboot.asm 2008-11-22 19:01:10.000000000 +0100
@@ -0,0 +1,883 @@
+ absolute 0
+pspInt20: resw 1
+pspNextP: resw 1
+ resb 124
+pspCmdLen: resb 1
+pspCmdArg: resb 127
+
+ section .text
+ org 100h
+
+_start:
+ mov ax,2
+ mov bx, msg_progname
+ int 22h
+
+ mov ax,2
+ mov bx, msg_crlf
+ int 22h
+
+ push es
+ mov ax,0ah
+ mov cl,9
+ int 22h
+ pop es
+ cmp al,32h
+ jnz not_pxelinux
+
+ mov ax,2
+ mov bx,msg_pxelinux
+ int 22h
+ ret
+not_pxelinux:
+ mov [derivative_id],al
+ mov [drivenumber],dl
+ mov [sectorshift],cl
+ mov ax,1
+ shl ax,cl
+ mov [sectorsize],ax
+...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...***************************************************************
+
+ absolute 0
+pspInt20: resw 1
+pspNextP: resw 1
+ resb 124
+pspCmdLen: resb 1
+pspCmdArg: resb 127
+
+;%define DEBUG
+
+ section .text
+ org 100h
+
+_start:
+ mov ax,2
+ mov bx, msg_progname
+ int 22h
+
+ mov ax,2
+ mov bx, msg_crlf
+ int 22h
+
+ push es
+ mov ax,0ah
+ mov cl,9
+ int 22h
+ pop es
+ cmp al,32h
+ jnz not_pxelinux
+
+ mov dl,0 ; fake drive number
+ mov cl,11 ; fake sector size 2048 bytes
+
+not_pxelinux:
+ mov [derivative_id],al
+ mov [drivenumber],dl
+ mov [sectorshift],cl
+ mov ax,1
+ shl ax,cl
+...
2009 Jul 15
0
[PATCH] gfxboot: display error message if bootlogo file not found
...;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
...logo 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 ' ',0
msg_crlf db 0dh,0ah,0
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...+ ja .err
+ sub al,'0'
+ imul ebx,ecx
+ add ebx,eax
+ jmp short .loop
+.done:
+ clc
+.ret:
+ pop ecx
+ pop eax
+ ret
+.err:
+ stc
+ jmp short .ret
+
section .data
msg_progname db 'gfxboot: ',0
msg_config_file db 'Configuration file',0
@@ -913,14 +977,18 @@ msg_crlf db 0dh,0ah,0
gfx_slash db '/', 0
db0 db 0
+menu_timeout dd 100
keyword_text_label db 6,'label',0
keyword_text_default db 7,'default',0
+keyword_text_timeout db 7,'timeout',0
keywords equ $
dw keyword_text_label
dw do_label
dw keyword_text_d...