search for: usingvga

Displaying 9 results from an estimated 9 matches for "usingvga".

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 1/2] msg: VGAFilePtr should be char
...NextCharJump = msg_filename; - VGAFilePtr = (uint16_t *)VGAFileBuf; + VGAFilePtr = VGAFileBuf; } static void msg_normal(uint8_t data) diff --git a/core/graphics.c b/core/graphics.c index 834372f..1604ab4 100644 --- a/core/graphics.c +++ b/core/graphics.c @@ -27,9 +27,9 @@ __export uint8_t UsingVGA = 0; uint16_t VGAPos; /* Pointer into VGA memory */ -__export uint16_t *VGAFilePtr; /* Pointer into VGAFileBuf */ __export uint16_t VGAFontSize = 16; /* Defaults to 16 byte font */ +__export char *VGAFilePtr; /* Pointer into VGAFileBuf */ __export char VGAFileBuf[VGA_FILE_BUF_...
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?
2015 Aug 21
1
[PATCH 1/2] msg: VGAFilePtr should be char
On Fri, 2015-08-21 at 12:33 -0700, Patrick Masotta wrote: > I think probably this patch is buggy: > > You have redefined VGAFilePtr > > -__export uint16_t *VGAFilePtr; /* Pointer into VGAFileBuf */ > +__export char *VGAFilePtr; /* Pointer into VGAFileBuf */ > > but you did not redefine i.e. > > *VGAFilePtr++ = data; > > Incrementing a
2002 Feb 26
0
syslinux timeout
...v al, 10 call writechr pop ax ret %endif +%endif + ; ; pollchar: check if we have an input character pending (ZF = 0) ; pollchar: pushad mov ah,1 ; Poll keyboard int 16h jnz .done ; Keyboard response mov dx,[SerialPort] and dx,dx @@ -4225,20 +4291,35 @@ cmp [UsingVGA], byte 1 jne .done mov ah,09h mov bx,0007h mov cx,1 int 10h .done: popad ret +; DTM BEGIN ------------------------------------------------ +; writeprompt +writeprompt: + cmp [ShowTimeOut], word 0 + jne .timeoutprompt + mov si, boot_prompt + call cwritestr + jmp .done +.timeo...
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...search_loop: push bx @@ -2432,6 +2433,7 @@ ; ; Okay, here we go... copy over our own boot sector and run the new one ; +into_bootsec: call vgaclearmode ; Reset video cli ; Point of no return @@ -4162,6 +4164,91 @@ linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 UsingVGA db 0 +; +; Check for magic "swap" kernel -- wingel +; +check_for_swap: + mov si,swap_name + mov di,KernelName + mov cx,11 + repe cmpsb + je is_swap + ret + +is_swap: + call crlf + mov si,swap_loading + call cwritestr + + push bx + mov ax,0201h ; r...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...de(void) ireg.eax.w[0] = 0x0012; /* Set mode = 640x480 VGA 16 colors */ __intcall(0x10, &ireg, &oreg); - ireg.edx.w[0] = (uint16_t)linear_color; + ireg.edx.w[0] = (uint32_t)linear_color; ireg.eax.w[0] = 0x1002; /* Write color registers */ __intcall(0x10, &ireg, &oreg); UsingVGA = 1; /* Set GXPixCols and GXPixRows */ - GXPixCols = 640+(480 << 16); + GXPixCols = 640; + GXPixRows = 480; use_font(); ScrollAttribute = 0; @@ -219,12 +220,12 @@ static void outputvga(uint32_t *in, uint32_t *out) val = 2; /* Sequencer mask */ /* Select the sequencer mask */...