wok diff syslinux/stuff/iso2exe/mvcom.S @ rev 14267

syslinux/iso2exe: add boot error message
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 02 08:37:23 2013 +0200 (2013-04-02)
parents a26ba54f3ea7
children 353dc1b968e5
line diff
     1.1 --- a/syslinux/stuff/iso2exe/mvcom.S	Mon Mar 04 09:52:12 2013 +0100
     1.2 +++ b/syslinux/stuff/iso2exe/mvcom.S	Tue Apr 02 08:37:23 2013 +0200
     1.3 @@ -10,10 +10,12 @@
     1.4  	movw	$0, %si		// .com size
     1.5  	movw	$0, %bx		// .com loc
     1.6  #if 1
     1.7 +// Move up EXE/PE and DOS/COM to ensure that bootiso[]
     1.8 +// in EXE/PE will not be affected by the DOS/COM move.
     1.9  	pushw	%si
    1.10  	leaw	1-64-256(%bx,%si), %cx
    1.11  	leaw	(%bx,%si), %si
    1.12 -	movw	$0xF000, %di
    1.13 +	movw	$0xF000, %di	// Keep 4K for stack
    1.14  	cmpw	%si, %di
    1.15  	jc	skip
    1.16  	std