search for: msg_filename

Displaying 5 results from an estimated 5 matches for "msg_filename".

Did you mean: iso_filename
2015 Aug 21
2
[PATCH 1/2] msg: VGAFilePtr should be char
...| 2 +- core/include/graphics.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/com32/elflink/ldlinux/msg.c b/com32/elflink/ldlinux/msg.c index 9ded33e..37cbe71 100644 --- a/com32/elflink/ldlinux/msg.c +++ b/com32/elflink/ldlinux/msg.c @@ -155,7 +155,7 @@ static void msg_filename(uint8_t data) /* Ignore space/control char */ if (data > ' ') { - if ((char *)VGAFilePtr < (VGAFileBuf + sizeof(VGAFileBuf))) + if (VGAFilePtr < (VGAFileBuf + sizeof(VGAFileBuf))) *VGAFilePtr++ = data; } } @@ -163,7 +163,7 @@ static void msg_filename(uint8_t data) s...
2015 Aug 20
4
boot logo via boot.txt
We recently have upgraded syslinux and have noticed that the boot logo code via boot.txt no longer works. I have a couple patches that get it close to working but I appear to be having trouble with color maps. Is there someone would want to help me finish figuring this out? Any interest in the patches I have to fix the rle decoder?
2014 Oct 30
3
Display graphic from filename broken?
...ken since syslinux has been converted from assembler to C. I already discovered one bug in core/include/graphics.h (and core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but should be plain char*. This bug causes the file name to be assembled incorrectly in com32/elflink/ldlinux/msg.c (msg_filename(), line 160): there the pointer is autoincremented, and if it is a uint16_t*, then it will autoincrement by two bytes. Therefore there will be a null char every second byte, which makes everybody think the file name has only one single character. After fixing this, the file name is assembled corre...
2009 Mar 26
1
isolinux-debug: Approaching overflow
...;" \ -DHEXDATE="0x49caaf5b" \ -l isolinux-debug.lsr -o isolinux-debug.o isolinux-debug.asm ld -m elf_i386 -T syslinux.ld -M -o isolinux-debug.elf isolinux-debug.o > isolinux-debug.map ld: 64K overflow ld: 64K overflow isolinux-debug.o: In function `msg_filename': isolinux-debug.asm:(.text+0x202d): relocation truncated to fit: R_386_16 against `.bss1' isolinux-debug.o: In function `msg_viewimage': isolinux-debug.asm:(.text+0x2049): relocation truncated to fit: R_386_16 against `.bss1' ld: 64K overflow make: *** [isolinux-debug.elf] Error 1...
2014 Oct 30
0
Display graphic from filename broken?
...as been converted from assembler to > C. I already discovered one bug in core/include/graphics.h (and > core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but > should be plain char*. This bug causes the file name to be assembled > incorrectly in com32/elflink/ldlinux/msg.c (msg_filename(), line 160): > there the pointer is autoincremented, and if it is a uint16_t*, then it > will autoincrement by two bytes. Therefore there will be a null char > every second byte, which makes everybody think the file name has only > one single character. > > After fixing this, th...