Displaying 4 results from an estimated 4 matches for "prev_pixel".
2014 Oct 30
0
Display graphic from filename broken?
> Hi,
>
> the display of LSS16 files from a DISPLAY file (as documented in
> http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:)
> seems heavily broken 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
2014 Oct 30
3
Display graphic from filename broken?
Hi,
the display of LSS16 files from a DISPLAY file (as documented in
http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:)
seems heavily broken 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
2015 Aug 21
2
[PATCH 2/2] core/graphics: fix lss16 parsing
...en == 0) {
/* long run */
uint8_t hi;
- data = getnybble();
+ rle_len = getnybble();
hi = getnybble();
hi <<= 4;
- data |= hi;
- data += 16;
+ rle_len |= hi;
+ rle_len += 16;
}
/* dorun */
- for (i = 0; i < data; i++)
+ for (i = 0; i < rle_len; i++)
*out++ = prev_pixel;
size -= i;
@@ -249,7 +256,7 @@ __export void vgadisplayfile(FILE *_fd)
/* Load the header */
while (size--)
- *p = getc(fd);
+ *p++ = getc(fd);
if (*p != EOF) {
com32sys_t ireg, oreg;
--
2.1.0
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?