# HG changeset patch # User Pascal Bellard # Date 1479849453 -3600 # Node ID c832599ce6588c5769ca5124072e47e28645f735 # Parent bb42796dcd3b2f28ea3e336dba545b3270293899 syslinux/iso2exe: vm86 support diff -r bb42796dcd3b -r c832599ce658 syslinux/receipt --- a/syslinux/receipt Tue Nov 22 21:19:01 2016 +0100 +++ b/syslinux/receipt Tue Nov 22 22:17:33 2016 +0100 @@ -9,12 +9,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://syslinux.zytor.com/" WGET_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/$TARBALL" +LINLD="$WOK/linld/source" CONFIG_FILES="/boot/isolinux/*.cfg /boot/isolinux/kbd" TAGS="boot" DEPENDS="ipxe memtest" BUILD_DEPENDS="wget kbd-base perl nasm dev86 lzma mingw32-gcc upx posixovl \ -util-linux-uuid-dev advancecomp libidn" +util-linux-uuid-dev advancecomp libidn linld" # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() @@ -44,6 +45,7 @@ $i > kbd/$(basename $i .map.gz) done cp -a $stuff/iso2exe . + cp $LINLD/*/tazboot.com iso2exe/boot.com make -C iso2exe } @@ -51,6 +53,7 @@ genpkg_rules() { mkdir -p $fs/boot/isolinux + cp $LINLD/*/linld.com $fs/boot cp -a $src/core/isolinux.bin $fs/boot/isolinux lzma e $src/com32/modules/md5sum.c32 $fs/boot/isolinux/c32box.c32 lzma e $src/com32/menu/vesamenu.c32 $fs/boot/isolinux/vesamenu.c32 diff -r bb42796dcd3b -r c832599ce658 syslinux/stuff/iso2exe/Makefile --- a/syslinux/stuff/iso2exe/Makefile Tue Nov 22 21:19:01 2016 +0100 +++ b/syslinux/stuff/iso2exe/Makefile Tue Nov 22 22:17:33 2016 +0100 @@ -43,18 +43,6 @@ com2exe $< > $@ chmod +x $@ -OBJS = boot.o iso9660.o libdos.o bootlinux.o -boot.com: $(OBJS) - $(BCC) $(BCCFLAGS) -o $@ $(OBJS) && upx --ultra-brute $@ - -boot.o: boot.c iso9660.h bootlinux.h libdos.h - -bootlinux.o: bootlinux.c iso9660.h bootlinux.h - -iso9660.o: iso9660.c iso9660.h - -libdos.o: libdos.c libdos.h - win32.res: win32.rc win32.ico i586-pc-mingw32-windres $< -O coff -o $@ diff -r bb42796dcd3b -r c832599ce658 syslinux/stuff/iso2exe/README --- a/syslinux/stuff/iso2exe/README Tue Nov 22 21:19:01 2016 +0100 +++ b/syslinux/stuff/iso2exe/README Tue Nov 22 22:17:33 2016 +0100 @@ -86,12 +86,9 @@ Limitations: -- Only DOS 3 to 7 boot supported. Checked with http://www.allbootdisks.com/ +- Only DOS and DOS based Windows (16 bits) boot supported. NT/XP support via boot device creation. -- Real mode support only. VM86 is not supported. Will not boot directly, but - a removable boot media is created. - - The DOS Linux loader and the ISO initramfs must fit in ~30Kb. - Linux kernels before version 2.6.30 don't support multiple initramfs load. @@ -102,7 +99,5 @@ TODO: -- Add XMM and VCPI (VM86) support. - - floppy bootstrap