summaryrefslogtreecommitdiff
path: root/memdisk
Commit message (Collapse)AuthorAgeFilesLines
* gen-id: only truncate tags starting with syslinux-<version>-H. Peter Anvin2008-07-151-1/+1
| | | | | If git-describe comes up with a tag not starting with syslinux-<version>- then leave it as-is.
* Make version.mk optional, so cleaning commands worksyslinux-3.71-pre6H. Peter Anvin2008-07-071-1/+1
| | | | For cleaning commands, we need version.mk to be optional.
* Share the gen-id stuff between core and memdiskH. Peter Anvin2008-07-072-1/+15
| | | | Both core and memdisk wants to use the gen-id stuff, so let it.
* Centralize more of the version number machineryH. Peter Anvin2008-07-073-6/+8
| | | | Centralize more (most) of the version number machinery to version.pl.
* memdisk: install a DPT if needed in INT 1Eh; better zero-drive detectionH. Peter Anvin2008-07-033-15/+61
| | | | | | | | | Per the Interrupt list, treat INT 13 08 returning with CL=0 as a failure, meaning single drive only. If we find ourselves the only floppy drive, install a DPT into INT 1Eh. This appears to be needed for PC-DOS 7.0 to boot. This can be overridden with the "nodpt" option, and forced with the "dpt" option.
* memdisk/version.h: bump copyright yearH. Peter Anvin2008-07-031-1/+1
| | | | 2008, not 2007
* TEST: issue a null command to the KBC as part of A20-flippingsyslinux-3.70-pre19H. Peter Anvin2008-06-181-2/+16
| | | | | UHCI supposedly wants a null command (0FFh) sent to the KBC as part of the A20-flipping sequence. See if that works for us.
* fdgeo.pl: exit values; fix division by zeroH. Peter Anvin2008-06-101-0/+3
| | | | | Return exit values to go with the error messages; don't divide by zero in case of range error.
* Whitespace cleanupH. Peter Anvin2008-06-094-4/+3
|
* MEMDISK: algorithmic determination of floppy formatsH. Peter Anvin2008-06-072-19/+102
| | | | | Consider all disks < 4 MB to be floppies, and guess their geometry algorithmically.
* MEMDISK: Use aligning memcpy/memset, compile with -mregparm=3syslinux-3.70-pre14H. Peter Anvin2008-06-065-51/+168
| | | | | Use the aligning memcpy/memset from libcom32. Switch memdisk to compiling with -mregparm=3, except for the interfaces to assembly.
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-291-1/+1
| | | | | | | | Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.
* Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-121-1/+2
| | | | -fstack-protector flag enabled by default.
* memdisk: allow up to 1024 e820 descriptorsH. Peter Anvin2008-04-081-1/+1
| | | | | | There are plenty of systems out there with more than 64 e820 descriptors. The hard-coded limit is only used during initialization, so we might as well go nuts.
* Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-051-1/+1
| | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-4/+4
|
* Standardize format for copyright lines and updateH. Peter Anvin2008-01-161-1/+1
| | | | Update copyright lines and standardize the format.
* Update copyright yearH. Peter Anvin2008-01-1012-12/+12
|
* Move doc files to doc/, and add man pages from Debiansyslinux-3.55-pre2H. Peter Anvin2007-12-181-202/+0
| | | | | | Move all the text documentation to the doc/ directory, add man pages from the Debian syslinux package, and rename sys2ansi.pl to syslinux2ansi.pl.
* Makefiles: create NASMOPT variableH. Peter Anvin2007-10-101-3/+4
| | | | | Create NASMOPT variable, defaulting to -O9999. Mostly there to test beta versions of NASM.
* Fix building on a 64-bit system without a 32-bit system installedsyslinux-3.52-pre10syslinux-3.52H. Peter Anvin2007-09-241-1/+1
| | | | | A bunch of glibc header files were bogusly included. We should not depend on having a 32-bit glibc installed, since we don't use it.
* memdisk: add "nopass" option to completely take over INT 13hH. Peter Anvin2007-09-212-31/+43
| | | | | | Add the "nopass" option to completely remove the system drives. This is a pretty big hammer and is largely for debugging at this stage; it probably needs more polishing before it can be made official.
* MEMDISK: Fix register messup in EDDDuane Voth2007-08-271-7/+8
| | | | | | | | | | | | | | | | | | | | | | | Hello all, I ran across a couple bugs in memdisk concerning hd images the other day. With the attached patch I've been able to successfully boot a 32MB gzipped hd image. (I'll put the image up for a short while at ftp://ftp.io.com/pub/usr/duanev/fdoshd.img.gz) The pxelinux.cfg entry I'm using is: label fdos kernel memdisk append keeppxe initrd=fdoshd.img.gz syslinux/memdisk is great, thanks Peter et. al.! -- Duane Voth duanev@io.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* MEMDISK: Try for better EDD complianceH. Peter Anvin2007-07-082-37/+76
|
* Forgot to add our own drive to the drive count!syslinux-3.52-pre3H. Peter Anvin2007-06-301-0/+3
|
* Show list file addresses in absolutesyslinux-3.50H. Peter Anvin2007-06-081-2/+2
| | | | | | Small Perl script to postprocess the listfile and show absolute addresses instead of section-relative. This only applies to the main address, not to addresses in bracketed fields.
* Don't clobber /dev/null when compiling as rootLuciano Rocha2007-05-251-2/+4
| | | | | | Compiling as root is highly discouraged, but some people do it anyway. gcc_ok, however, can clobber /dev/null due to "-o /dev/null"; this is bad. Instead, write a temporary file and delete it.
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-143-3/+3
|
* Deal with various distributions breaking gcc in weird waysH. Peter Anvin2007-02-061-1/+1
|
* Merge with ↵H. Peter Anvin2007-01-312-13/+17
|\ | | | | | | git+ssh://master.kernel.org/pub/scm/boot/syslinux/syslinux.git#syslinux-3.3x
| * Fix the Makefile to handle overridden CCH. Peter Anvin2007-01-281-8/+12
| |
| * Remove -m32 from the CC variable globally.H. Peter Anvin2007-01-281-3/+3
| |
| * Update copyright dates to 2007H. Peter Anvin2007-01-271-2/+2
| |
* | MEMDISK: add alias "cbios" == "noebios" == "noedd"H. Peter Anvin2007-01-301-1/+2
| |
* | MEMDISK: ebios/noebios as synonyms to edd/noeddH. Peter Anvin2007-01-301-2/+4
| |
* | MEMDISK: Default to floppy = EDD off, hard disk = EDD on, give optionH. Peter Anvin2007-01-303-9/+31
|/ | | | | Default to having EDD off on floppies and EDD on on hard disks. Additionally, add options "edd" and "noedd" to force this choice.
* Merge with ↵syslinux-3.32-pre7H. Peter Anvin2006-11-211-8/+8
|\ | | | | | | git+ssh://master.kernel.org/pub/scm/boot/syslinux/syslinux.git#syslinux-3.3x
| * Resolve issue with push/pop ordering in raw mode.H. Peter Anvin2006-11-211-8/+8
| | | | | | | | Bug reported by James Ling.
* | memdisk: Update copyright dateH. Peter Anvin2006-11-131-1/+1
|/
* memdisk: Constrain input drive numbers both by equipment byte and INT 13hsyslinux-3.32-pre4H. Peter Anvin2006-10-301-2/+20
| | | | | | Apparently on some BIOSes, INT 13h return a bogus number of floppy drives when the real value is zero (probably because the code doesn't check the validity bit in the equipment byte.) Do it ourselves if we need to.
* memdisk: $PnP Installation Check structure length is byte 5, not 2H. Peter Anvin2006-10-241-3/+4
|
* [memdisk] Enable EDD support by default.syslinux-3.32-pre3H. Peter Anvin2006-10-201-2/+2
|
* Remove -x c from assembly preprocessingH. Peter Anvin2006-10-171-2/+2
|
* Remove -traditionalH. Peter Anvin2006-10-171-2/+2
|
* [memdisk] Saner handling of the values returned to the real-mode code.H. Peter Anvin2006-10-172-17/+18
|
* [memdisk] Make ES:DI point to the $PnP structure on entryH. Peter Anvin2006-10-172-7/+44
| | | | ES:DI is supposed to point to the $PnP structure on entry, make it sew.
* Add "safeint" mode to memdiskH. Peter Anvin2006-09-283-4/+56
|
* Remove more CVS-era $Id$ tags.H. Peter Anvin2006-08-176-6/+0
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-1711-11/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-0316-105/+102
|