Displaying 7 results from an estimated 7 matches for "drivenumber".
2005 Jan 17
2
Slow performance booting USB device with 3.xx version
With the new 3.01 and 3.07 version I found a big slowdown booting from
USB devices.
On my PC it takes more than 2 minutes to load the kernel and the
initrd filesystem. Compared with the previous behaviour of syslinux
2.13 with takes only 10 seconds or little more.
The BIOS boots in FDD mode (DriveNumber variable is 0). I've also
tried to disable the EDD support in the source. But the boot process
takes always a long time.
I've also a PC which boots in HDD mode (DriveNumber has the highest
bit set) and it is also slower, approx 20 seconds compared to the
previous 10.
I don't understan...
2010 Jun 30
2
[PATCH] chain.c32: add menu support to grub loader
Allow the grub loader to (optionally) support using a GRUB menu file.
For example
chain fs grub=stage2,grub.conf
will load GRUB's stage2 and pass the (absolute) path to the file
"grub.conf" in the Syslinux filesystem to GRUB's stage2. The path is
passed to stage2 in GRUB's device/partition syntax (eg, "(hd0,1)/foo").
Note that we don't check whether the
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...+_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
+ mov ax,trackbufsize
+ shr ax,cl
+ mov [BufSafe],ax
+
+ xor cx,cx
+ mov cl,[pspCmdLen]
+ dec cx
+ and cx,cx
+ jne continue
+
+ mov ax,2
+ mov bx, msg_usage
+ int 22h
+ ret
+continue:
+ mov di,pspCmdArg+1
+ ad...
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...ult
+ dw keyword_text_timeout
+ dw do_timeout
keyword_cnt dw ($-keywords)/4
; menu entry descriptor
@@ -971,6 +1039,9 @@ dentry_buf_len equ $ - dentry_buf
max_cmd_len equ 2047
command_line resb max_cmd_len+2
+NumBuf resb 15
+NumBufEnd resb 1
+
alignb 4
derivative_id resb 1
drivenumber resb 1
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...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
+ mov [sectorsize],ax
+ mov ax,trackbufsize
+ shr ax,cl
+ mov [BufSafe],ax
+
+ xor cx,cx
+ mov cl,[pspCmdLen]
+ dec cx
+ and cx,cx
+ jne continue
+
+ mov ax,2
+ mov bx, msg_usage
+ int 22h
+ ret
+continue:
+ mov di,pspCmdArg+1
+ ad...
2007 Nov 15
3
3.53-pre5 released - release candidate
...Typo cleanup
In 32-bit mode, "xor eax,eax" is shorter than "xor ax,ax"
Add sha256crypt and sha512crypt; not yet enabled
Remove unused variable BufSafeSec
Fix boot sectors; cleanup_hardware must preserve registers
ISOLINUX: Change DriveNo -> DriveNumber
mbr.S: fix loading from logical partitions
Preserve ES:DI instead of probing for $PnP
-hpa
2009 Apr 30
2
[1/1] [gfxboot] align buffer used to read data from disk to a 512 byte boundary
...-by: Christophe Fergeau <cfergeau at mandriva.com>
---
modules/gfxboot.asm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gfxboot.asm b/modules/gfxboot.asm
index e3aed13..2c3f809 100644
--- a/modules/gfxboot.asm
+++ b/modules/gfxboot.asm
@@ -871,6 +871,8 @@ drivenumber db 0
sectorshift db 0
sectorsize dw 0
trackbufsize equ 16384
+align 512 ; must be 512 byte aligned because it will
be passed
+ ; to int 22h, AX=07h
trackbuf times trackbufsize db 0
BufSafe...