wok-6.x rev 17461
syslinux/iso2exe: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 18 22:19:24 2014 +0100 (2014-12-18) |
parents | 188b82599301 |
children | 2972ccc04e7e |
files | syslinux/stuff/iso2exe/bootiso.S syslinux/stuff/iso2exe/iso2exe.sh |
line diff
1.1 --- a/syslinux/stuff/iso2exe/bootiso.S Thu Dec 18 20:41:03 2014 +0100 1.2 +++ b/syslinux/stuff/iso2exe/bootiso.S Thu Dec 18 22:19:24 2014 +0100 1.3 @@ -127,10 +127,10 @@ 1.4 exestart: 1.5 cld 1.6 movw $0x100, %si 1.7 - movw -126(%si), %ax 1.8 + movw -127(%si), %ax 1.9 cwd // clear dx 1.10 pushw %dx // dos exit() 1.11 - cmpb $0x2F, %al 1.12 + cmpw $0x2F20, %ax 1.13 movw $0x3000+EXESTR(help), %ax 1.14 je abort 1.15 int $0x21 // get DOS version
2.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Thu Dec 18 20:41:03 2014 +0100 2.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Thu Dec 18 22:19:24 2014 +0100 2.3 @@ -22,7 +22,7 @@ 2.4 { 2.5 TMP=/tmp/iso2exe$$ 2.6 mkdir -p $TMP/bin $TMP/dev 2.7 - cp -a /dev/?d?* $TMP/dev 2.8 + cp -a /dev/?d?* /dev/tty $TMP/dev 2.9 $0 --get init > $TMP/init.exe 2.10 grep -q mount.posixovl.iso2exe $TMP/init.exe && 2.11 cp /usr/sbin/mount.posixovl $TMP/bin/mount.posixovl.iso2exe \