search for: graphxsiz

Displaying 3 results from an estimated 3 matches for "graphxsiz".

Did you mean: graphxsize
2015 Aug 21
2
[PATCH 2/2] core/graphics: fix lss16 parsing
...s(-) diff --git a/core/graphics.c b/core/graphics.c index 1604ab4..011be4a 100644 --- a/core/graphics.c +++ b/core/graphics.c @@ -54,6 +54,9 @@ typedef struct { static lssheader_t LSSHeader; +static uint16_t buffer_empty = 1; +static int buffer; + #define LSSMagic LSSHeader.LSSMagic #define GraphXSize LSSHeader.GraphXSize #define GraphYSize LSSHeader.GraphYSize @@ -114,15 +117,17 @@ static int vgasetmode(void) static inline char getnybble(void) { - char data = getc(fd); - - if (data & 0x10) { - data &= 0x0F; - return data; + if (buffer_empty) { + buffer_empty = 0; + buffer = ge...
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?
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...Register data port */ for (i = 1; i <= 8; i *= 2) { /* Select the bit plane to write */ - outb(i, (uint16_t)addr); + outb(i, (uint32_t)addr); for (j = 0; j < (640 / 32); j++) *(out + j) = *(in + j); @@ -300,7 +301,8 @@ void vgadisplayfile(FILE *_fd) rledecode(VGARowBuffer, GraphXSize); packedpixel2vga(VGARowBuffer, VGAPlaneBuffer, 640); - outputvga(VGAPlaneBuffer, MK_PTR(0x0A000, VGAPos)); + outputvga((uint32_t *)VGAPlaneBuffer, + MK_PTR(0x0A000, VGAPos)); VGAPos += 640/8; } } diff --git a/core/hello.c b/core/hello.c index 45bdf57..5b22478 100644 --- a/...