wok-current diff syslinux/stuff/iso2exe/bootiso.S @ rev 20869
syslinux/iso2exe: add cdrom icon
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 23 13:25:31 2019 +0100 (2019-02-23) |
parents | e05d978e5ab8 |
children | 04ffefac5707 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/bootiso.S Fri Feb 22 22:16:14 2019 +0100 1.2 +++ b/syslinux/stuff/iso2exe/bootiso.S Sat Feb 23 13:25:31 2019 +0100 1.3 @@ -178,7 +178,7 @@ 1.4 ret 1.5 .org 0x7E00 1.6 1.7 - .org 0x7F81 1.8 + .org 0x7F78 1.9 ////////////////////////////// DOS EXE code /////////////////////////////////// 1.10 1.11 exestart: 1.12 @@ -200,7 +200,7 @@ 1.13 abort: 1.14 goputs: 1.15 mov $EXEADRS(puts), %si 1.16 - jmp %si 1.17 + jmp *%si 1.18 1.19 tst386: 1.20 pushw %sp 1.21 @@ -226,9 +226,10 @@ 1.22 movw comstart-end_header(%di), %si // .com address 1.23 pushw %di 1.24 movb $0x7C/2, %ch // 31K-31.5K, > com length 1.25 - rep 1.26 - movsw 1.27 - ret 1.28 + movb $0x80, %bh 1.29 + movw $0xA5F3, (%bx) // rep movsw 1.30 + movb $0xC3, 2(%bx) // ret 1.31 + jmp *%bx 1.32 1.33 vm86modemsg: 1.34 // --------------- Must be in 7F40 7FFF range ------------------------