H. Peter Anvin [Tue, 3 Oct 2006 04:12:54 +0000 (21:12 -0700)]
Merge with 3.3x branch
Conflicts:
NEWS
version
H. Peter Anvin [Tue, 3 Oct 2006 04:11:48 +0000 (21:11 -0700)]
Official binaries are 32 bits. Clean up release vs prerel.
H. Peter Anvin [Tue, 3 Oct 2006 03:26:57 +0000 (20:26 -0700)]
Reduce verbosity
H. Peter Anvin [Tue, 3 Oct 2006 03:26:02 +0000 (20:26 -0700)]
Fix to "make tidy"
H. Peter Anvin [Sat, 30 Sep 2006 17:56:44 +0000 (10:56 -0700)]
vesainit: clear the VESA buffers before call (paranoia)
H. Peter Anvin [Sat, 30 Sep 2006 17:50:56 +0000 (10:50 -0700)]
vesainit: more careful detection of VESA modes
H. Peter Anvin [Thu, 28 Sep 2006 18:26:58 +0000 (11:26 -0700)]
Document new safeint mode.
H. Peter Anvin [Thu, 28 Sep 2006 18:26:26 +0000 (11:26 -0700)]
Next version on this branch: 3.32
H. Peter Anvin [Thu, 28 Sep 2006 18:25:20 +0000 (11:25 -0700)]
Add "safeint" mode to memdisk
H. Peter Anvin [Sat, 23 Sep 2006 06:49:23 +0000 (23:49 -0700)]
KernelType is a byte, not a word, oops...
H. Peter Anvin [Sat, 23 Sep 2006 06:32:02 +0000 (23:32 -0700)]
Unbreak "make depend"
H. Peter Anvin [Sat, 23 Sep 2006 06:30:51 +0000 (23:30 -0700)]
Add files missing from previous checkins
H. Peter Anvin [Sat, 23 Sep 2006 06:29:57 +0000 (23:29 -0700)]
Return error if we specify an invalid kernel type name in AX=0016h.
H. Peter Anvin [Sat, 23 Sep 2006 06:24:45 +0000 (23:24 -0700)]
Add support for forcing the filetype, and loading a secondary config file.
Add support for forcing the filetype, and loading a secondary config file.
Also bump the version number to version 3.40.
H. Peter Anvin [Sat, 23 Sep 2006 00:07:17 +0000 (17:07 -0700)]
Try to be more true to the way "MENU INCLUDE" should work.
H. Peter Anvin [Fri, 22 Sep 2006 02:08:08 +0000 (19:08 -0700)]
Make the last row the end row.
H. Peter Anvin [Fri, 22 Sep 2006 00:55:39 +0000 (17:55 -0700)]
New MENU INCLUDE directive, and support ~ to mark default config file.
H. Peter Anvin [Fri, 22 Sep 2006 00:45:02 +0000 (17:45 -0700)]
If a later "menu background" overrides an earlier one, free the data
H. Peter Anvin [Thu, 21 Sep 2006 23:46:52 +0000 (16:46 -0700)]
Add missing #include "fill.h"
H. Peter Anvin [Thu, 21 Sep 2006 23:45:02 +0000 (16:45 -0700)]
Document shadowing mode change.
H. Peter Anvin [Thu, 21 Sep 2006 23:44:31 +0000 (16:44 -0700)]
Use the color table for the shadow, and make it user controllable
H. Peter Anvin [Wed, 20 Sep 2006 23:04:33 +0000 (16:04 -0700)]
Document ability to load more than one configuration file.
H. Peter Anvin [Wed, 20 Sep 2006 23:03:29 +0000 (16:03 -0700)]
Support multiple configuration files in the menu systems.
H. Peter Anvin [Mon, 18 Sep 2006 22:33:04 +0000 (15:33 -0700)]
Factor out extlinux as a separate package, avoid /boot/memdisk error
H. Peter Anvin [Mon, 18 Sep 2006 22:24:49 +0000 (15:24 -0700)]
Correct syntax and document move to /usr/share.
H. Peter Anvin [Mon, 18 Sep 2006 22:19:45 +0000 (15:19 -0700)]
rpm spec: add syslinux-tftpboot module
H. Peter Anvin [Mon, 18 Sep 2006 22:02:13 +0000 (15:02 -0700)]
Added a second sample background image
H. Peter Anvin [Sat, 16 Sep 2006 23:29:08 +0000 (16:29 -0700)]
Add file missing from previous commit
H. Peter Anvin [Sat, 16 Sep 2006 21:35:58 +0000 (14:35 -0700)]
Proper handling of different screen sizes (we're 78x29 in graphics mode...)
H. Peter Anvin [Sat, 16 Sep 2006 06:50:40 +0000 (23:50 -0700)]
More color tweaks.
H. Peter Anvin [Sat, 16 Sep 2006 06:50:34 +0000 (23:50 -0700)]
Properly parse MENU COLOR statements.
H. Peter Anvin [Sat, 16 Sep 2006 06:21:13 +0000 (23:21 -0700)]
Default color tweaking
H. Peter Anvin [Sat, 16 Sep 2006 06:17:40 +0000 (23:17 -0700)]
Use gamma-corrected gradient for the default image, now when we have it
H. Peter Anvin [Sat, 16 Sep 2006 06:00:58 +0000 (23:00 -0700)]
Actually do proper gamma-corrected alpha blending. It seems fast enough.
H. Peter Anvin [Thu, 14 Sep 2006 23:26:07 +0000 (16:26 -0700)]
Allow specifying * instead of any of the MENU COLOR fields.
H. Peter Anvin [Thu, 14 Sep 2006 22:35:55 +0000 (15:35 -0700)]
Add sample splash image
H. Peter Anvin [Thu, 14 Sep 2006 21:43:44 +0000 (14:43 -0700)]
Default background; skip background if VESA is uninitialized
H. Peter Anvin [Thu, 14 Sep 2006 21:43:23 +0000 (14:43 -0700)]
Clean up cursor during initialization
H. Peter Anvin [Thu, 14 Sep 2006 21:17:31 +0000 (14:17 -0700)]
Properly support 16, 24 and 32-bit modes; now working properly.
H. Peter Anvin [Thu, 14 Sep 2006 21:16:59 +0000 (14:16 -0700)]
Fix dependency checking for sys/vesa
H. Peter Anvin [Thu, 14 Sep 2006 19:01:48 +0000 (12:01 -0700)]
Replace memcpy() with a routine written in assembly which minimizes stores
H. Peter Anvin [Wed, 13 Sep 2006 20:37:00 +0000 (13:37 -0700)]
Beginnings of supporting multiple pixel formats
H. Peter Anvin [Wed, 13 Sep 2006 18:59:30 +0000 (11:59 -0700)]
fmtpixel.h: cleanups and performance improvements
H. Peter Anvin [Wed, 13 Sep 2006 18:51:25 +0000 (11:51 -0700)]
Code to deal with multiple pixel formats
H. Peter Anvin [Wed, 13 Sep 2006 04:13:07 +0000 (21:13 -0700)]
For SOH codes, always issue a leading zero reset
H. Peter Anvin [Wed, 13 Sep 2006 04:09:32 +0000 (21:09 -0700)]
Document new selection programs.
H. Peter Anvin [Wed, 13 Sep 2006 04:08:23 +0000 (21:08 -0700)]
Merge with 3.2x branch
Conflicts:
com32/modules/Makefile
Erwan Velu [Thu, 7 Sep 2006 18:30:09 +0000 (20:30 +0200)]
Introducing a new com32 module to parse pci devices/buses
The pcitest module implements an example of use the pci module
If you like to use the string name just put a pci.ids file in the root directory
(cherry picked from
85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
erwan [Thu, 7 Sep 2006 18:11:45 +0000 (20:11 +0200)]
Before this fix, the cpu flags were shifted
(cherry picked from
b1ffc5a7732118170aaa3f6267ab821e5a237c20 commit)
H. Peter Anvin [Wed, 13 Sep 2006 04:01:46 +0000 (21:01 -0700)]
initvesa: don't trust the BIOS when it says tty is supported
For too many BIOSes, tty output in VESA modes doesn't work in any
useful sense, even if it is claimed.
H. Peter Anvin [Wed, 13 Sep 2006 03:58:26 +0000 (20:58 -0700)]
ansi: actually enable/disable the menu as required.
H. Peter Anvin [Wed, 13 Sep 2006 03:50:54 +0000 (20:50 -0700)]
vesainfo: program to dump all VESA modes
H. Peter Anvin [Wed, 13 Sep 2006 03:50:31 +0000 (20:50 -0700)]
com32/ansicon: actually mode the cursor...
H. Peter Anvin [Wed, 13 Sep 2006 03:03:54 +0000 (20:03 -0700)]
Remove VESA demo and function used only by it
H. Peter Anvin [Wed, 13 Sep 2006 00:42:40 +0000 (17:42 -0700)]
vesacon: if mode set failed, assume screen is unchanged
H. Peter Anvin [Wed, 13 Sep 2006 00:40:57 +0000 (17:40 -0700)]
vesacon: stub out debugging function
H. Peter Anvin [Wed, 13 Sep 2006 00:39:33 +0000 (17:39 -0700)]
vesacon: if a custom font is loaded, use it instead of the BIOS font
H. Peter Anvin [Wed, 13 Sep 2006 00:06:16 +0000 (17:06 -0700)]
Implement fallback from vesacon to ansicon
H. Peter Anvin [Tue, 12 Sep 2006 05:10:21 +0000 (22:10 -0700)]
Cursor support for vesacon
H. Peter Anvin [Mon, 11 Sep 2006 01:03:06 +0000 (18:03 -0700)]
Factor out the ANSI engine from the ANSI and VESA consoles
In preparation for the VESA console needing to fall back to text mode...
H. Peter Anvin [Wed, 6 Sep 2006 05:38:32 +0000 (22:38 -0700)]
Documentation for the graphical menu system
H. Peter Anvin [Wed, 6 Sep 2006 05:23:09 +0000 (22:23 -0700)]
Document graphical console
H. Peter Anvin [Wed, 6 Sep 2006 00:07:09 +0000 (17:07 -0700)]
No need to bzero .bss memory
H. Peter Anvin [Wed, 6 Sep 2006 00:06:14 +0000 (17:06 -0700)]
Augment tinyjpeg so that we can decode straight into the buffer;
clear the screen on startup.
H. Peter Anvin [Tue, 5 Sep 2006 23:26:08 +0000 (16:26 -0700)]
Set saner limits, since tinyjpeg will actually decode the whole image
H. Peter Anvin [Tue, 5 Sep 2006 23:18:51 +0000 (16:18 -0700)]
Default to black screen; draw a JPEG background correctly.
H. Peter Anvin [Tue, 5 Sep 2006 23:18:30 +0000 (16:18 -0700)]
Correct the memory layout for the BGRA32 color space
H. Peter Anvin [Tue, 5 Sep 2006 22:46:27 +0000 (15:46 -0700)]
Merge with 3.2x branch
Conflicts:
com32/modules/Makefile
com32/modules/menu.c
com32/modules/menu.h
com32/modules/readconfig.c
version
Erwan Velu [Mon, 4 Sep 2006 20:34:55 +0000 (22:34 +0200)]
Adding a new com32 module to handle cpu information
From : Erwan Velu <erwan.velu@free.fr>
This patch a new com32 module to handle cpu information.
A new "cpu" structure can be filled by calling "detect_cpu(&cpu)".
It provides :
- Vendor name as string
- Model as string
- Vendor as integer
- Model as integer
- Family as integer
- Stepping as Integer
- Flags as boolean
- SMP as boolean
Note that SMP is just a manner to know if the bios annonce an MPTABLE.
This code can't detect each processor.
I've been adding a demo program called cpuidtest to show how it works.
if (cpu.flags.lm == true) printf("This system is x86_64 compatible\n");
This example shows how to test if a system is X86_64 compatible.
I hope it's simple enough ;)
This code is mainly taken from the Linux Kernel.
Greetings for all the guys who wrote it.
Testing and feedback are welcome.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
Arne Georg Gleditsch [Mon, 4 Sep 2006 06:50:44 +0000 (08:50 +0200)]
Simple menu system updates
Hi,
I'm attaching a patch to Syslinux dealing with a handful of issues that
were preventing me from using the simple menu interface. Issues covered:
* Enable "MENU ONERROR" as a keyword on par with "ONERROR".
* Enable hidden menu entries to be used as ontimeout and onerror entries
(probably the least estheticalla pleasing part, sorry about that.)
* Make global "IPAPPEND" directives apply also when using menu.c32.
* Memory allocation fix for the ontimeout-variable (unlabel does free()).
* Make menu.c32 add ipappend options at end of kernel commend line, as
pxelinux generally does.
I see 3.30-pre1 is out now, I haven't had time to check applicability of
these patches towards this. Hope they can still be of use.
--
Arne.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 5 Sep 2006 19:12:15 +0000 (12:12 -0700)]
Add support for decoding JPEG images as well as PNG
H. Peter Anvin [Tue, 5 Sep 2006 18:12:17 +0000 (11:12 -0700)]
tinyjpeg: add rgba32 and bgra32 formats
H. Peter Anvin [Tue, 5 Sep 2006 18:04:57 +0000 (11:04 -0700)]
Factor tinyjpeg out by colorspace, so we don't pull in everything
H. Peter Anvin [Sat, 2 Sep 2006 17:27:36 +0000 (10:27 -0700)]
Fix typo in Makefile rule
H. Peter Anvin [Sat, 2 Sep 2006 04:55:10 +0000 (21:55 -0700)]
Add tiny JPEG decoder library
H. Peter Anvin [Fri, 1 Sep 2006 08:20:28 +0000 (01:20 -0700)]
Lots of fixes to make the graphical menu actually work.
H. Peter Anvin [Fri, 1 Sep 2006 05:00:50 +0000 (22:00 -0700)]
Color table handling for the VESA console
H. Peter Anvin [Fri, 1 Sep 2006 04:58:27 +0000 (21:58 -0700)]
state -> st.state
H. Peter Anvin [Fri, 1 Sep 2006 04:52:34 +0000 (21:52 -0700)]
ansicon support for SOH # color table handling
H. Peter Anvin [Fri, 1 Sep 2006 04:52:05 +0000 (21:52 -0700)]
Don't bother writing out the trailing byte of an invalid SOH # sequence.
H. Peter Anvin [Fri, 1 Sep 2006 04:41:15 +0000 (21:41 -0700)]
Serial port output with color table string injection.
H. Peter Anvin [Fri, 1 Sep 2006 04:40:56 +0000 (21:40 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 04:39:58 +0000 (21:39 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 04:39:40 +0000 (21:39 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 03:41:01 +0000 (20:41 -0700)]
Beginnings of a color theme manager; unify vesamenu and ansimenu
H. Peter Anvin [Thu, 31 Aug 2006 22:59:45 +0000 (15:59 -0700)]
Shading fix
H. Peter Anvin [Thu, 31 Aug 2006 22:48:26 +0000 (15:48 -0700)]
More work on actual VESA console and menu. Shadowing still doesn't work
quite right, however.
H. Peter Anvin [Thu, 31 Aug 2006 18:35:15 +0000 (11:35 -0700)]
Explicitly initialize on open instead of initializing via __constructor;
more graceful handling of partial open/partial close.
H. Peter Anvin [Wed, 30 Aug 2006 23:34:21 +0000 (16:34 -0700)]
Better test of alpha blending (holy crap, it works!)
H. Peter Anvin [Wed, 30 Aug 2006 23:34:07 +0000 (16:34 -0700)]
Actually blend the proper colors...
H. Peter Anvin [Wed, 30 Aug 2006 23:03:24 +0000 (16:03 -0700)]
More sophisticated alpha blending; comment out background call ATM
H. Peter Anvin [Wed, 30 Aug 2006 20:12:56 +0000 (13:12 -0700)]
This branch is now targetted toward version 3.21
H. Peter Anvin [Mon, 28 Aug 2006 19:15:06 +0000 (12:15 -0700)]
Add alpha-blending function in preparation for proper RGBA text.
H. Peter Anvin [Mon, 28 Aug 2006 09:46:06 +0000 (02:46 -0700)]
Test program for the VESA code
H. Peter Anvin [Mon, 28 Aug 2006 09:45:55 +0000 (02:45 -0700)]
Include file updates
H. Peter Anvin [Mon, 28 Aug 2006 09:40:02 +0000 (02:40 -0700)]
Add routine to initialize and test for the FPU.
H. Peter Anvin [Mon, 28 Aug 2006 09:10:24 +0000 (02:10 -0700)]
Add strtod() function, needed by libpng
H. Peter Anvin [Mon, 28 Aug 2006 08:50:09 +0000 (01:50 -0700)]
Work on getting libpng to actually do something useful...
H. Peter Anvin [Mon, 28 Aug 2006 07:28:31 +0000 (00:28 -0700)]
More work on VESA graphical console support
H. Peter Anvin [Sun, 27 Aug 2006 23:04:13 +0000 (16:04 -0700)]
More work on the VESA graphics console