FAT: change DOS installer to EXE; additional 32K limit fixes
authorH. Peter Anvin <hpa@zytor.com>
Tue, 19 May 2009 23:30:09 +0000 (16:30 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 19 May 2009 23:30:09 +0000 (16:30 -0700)
commit0fa4369624b4637a7e36ed22e89a759031f08327
tree4aa1cf5c87d36153cee3c727d5f77498c0042983
parentc9ad266f64f9ee81a859bdf70c1190ee0cc1bc19
FAT: change DOS installer to EXE; additional 32K limit fixes

Additional fixes for the 32K limits in the installers.  In the case
of the DOS installer, that means changing it from COM format to EXE
format (since COM format has a 63K hard limit); retain the name
syslinux.com for user compatibility, though (DOS doesn't care what the
extension except for pathname search; if it finds an MZ EXE header it
will use it.)

With the change to EXE means having to handle more than one segment.
Since we don't have a real DOS compiler we have to wing it a bit.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
16 files changed:
dos/Makefile
dos/argv.c
dos/com16.ld [deleted file]
dos/crt0.S
dos/dosexe.ld [new file with mode: 0644]
dos/header.S [new file with mode: 0644]
dos/malloc.c
dos/syslinux.c
extlinux/main.c
libinstaller/bin2c.pl
libinstaller/syslinux.h
libinstaller/syslxint.h
libinstaller/syslxmod.c
linux/syslinux.c
mtools/syslinux.c
win32/syslinux.c