search for: linear_color

Displaying 6 results from an estimated 6 matches for "linear_color".

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
2002 Mar 08
0
PXELINUX: suggestion for improvement
...[es:si+11] + add al,byte [es:si+12] + add al,byte [es:si+13] + add al,byte [es:si+14] + add al,byte [es:si+15] + cmp al,0 ; whole paragraph is expected to + ; add up to zero + jne .scan_loop + ret + ; + ; end of check_cpuid + ; ; Map colors to consecutive DAC registers linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...ax,[KernelName+8] ; Save initial extension mov [OrigKernelExt],eax .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_loadi...
2002 Feb 26
0
syslinux timeout
...riteprompt: + cmp [ShowTimeOut], word 0 + jne .timeoutprompt + mov si, boot_prompt + call cwritestr + jmp .done +.timeoutprompt + mov si, boot_timeout_prompt + call cwritestr +.done + ret +; DTM END -------------------------------------------------- + ; Map colors to consecutive DAC registers linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 UsingVGA db 0 ; ---------------------------------------------------------------------------------- ; Begin data section ; ---------------------------------------------------------------------------------- CR equ 13 ; Carriage Re...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...--git a/core/graphics.c b/core/graphics.c index 4a4af55..e85787d 100644 --- a/core/graphics.c +++ b/core/graphics.c @@ -92,14 +92,15 @@ static int vgasetmode(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(); ScrollAttrib...