wok-next diff syslinux/stuff/iso2exe/bootiso.S @ rev 20126
get-vivaldi -> vivaldi. Update ldd runtime dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 31 12:04:50 2017 +0200 (2017-10-31) |
parents | 5ba4b4fd03bc |
children | db21b68f7891 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/bootiso.S Sat Oct 01 10:57:42 2016 +0200 1.2 +++ b/syslinux/stuff/iso2exe/bootiso.S Tue Oct 31 12:04:50 2017 +0200 1.3 @@ -135,7 +135,8 @@ 1.4 je abort 1.5 int $0x21 // get DOS version 1.6 addb $-3, %al 1.7 - movw $0x1000+EXESTR(noDOS3), %ax 1.8 + movw $0xF000+EXESTR(noDOS3), %ax 1.9 + movw $0x100, %di 1.10 jc tst386 1.11 abort: 1.12 jmp *%bp 1.13 @@ -144,16 +145,14 @@ 1.14 pushfw // save flags 1.15 // bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1.16 // flags 0 NT IOPL OF DF IF TF SF ZF 0 AF 0 PF 1 CF 1.17 - // movb $0x10, %ah 1.18 + // movb $0xF0, %ah 1.19 pushw %ax 1.20 popfw // < 286 : flags[12..15] are forced 1 1.21 pushfw // = 286 : flags[12..15] are forced 0 1.22 popw %bx // > 286 : only flags[15] is forced 0 1.23 popfw // restore flags (IOPL) 1.24 addb %ah, %bh // test F0 and 00 cases 1.25 - cmpb %ah, %bh 1.26 - movw $0x100, %di 1.27 - jbe is86 // C=8086/80186, Z=80286 1.28 + js is86 // NS=386+, NC=286 1.29 is386: 1.30 smsww %ax // not privileged 1.31 andb $1, %al 1.32 @@ -203,7 +202,7 @@ 1.33 lodsw 1.34 popw %ds 1.35 jne NoVCPI 1.36 - xorb $0x58, %al // X(XX0) 1.37 + xorw $0x5858, %ax // XX(X0) 1.38 call ScanVCPI 1.39 CmdVCPI: 1.40 .byte 0x40 // status 1.41 @@ -234,7 +233,7 @@ 1.42 .ascii "?" 1.43 .byte EXESTR(eol) 1.44 help: 1.45 - .ascii "SliTaz iso boot" // SliTaz iso boot 1.46 + .ascii "SliTaz iso boot." // SliTaz iso boot. 1.47 eol: 1.48 .ascii "\r\n" 1.49 .byte 1 // puts will return