wok-next diff memtest/stuff/bootloader.S @ rev 16092
Add ffmpeg-compat (needed to build libvalhalla)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 16 14:14:43 2014 +0100 (2014-03-16) |
parents | bd4321dee983 |
children | 99c5dab1a371 |
line diff
1.1 --- a/memtest/stuff/bootloader.S Sun Nov 10 11:19:32 2013 +0000 1.2 +++ b/memtest/stuff/bootloader.S Sun Mar 16 14:14:43 2014 +0100 1.3 @@ -69,11 +69,11 @@ 1.4 # ifdef HELP 1.5 # define PUTS 1.6 movw $EXEADRS(helpmsg), %si 1.7 - cmpb $'/', %al 1.8 + cmpb $'/'+1, %al 1.9 # ifdef CHECK_REALMODE 1.10 - je jeputs 1.11 + js jsputs 1.12 # else 1.13 - je puts 1.14 + js puts 1.15 # endif 1.16 # endif 1.17 nocmdline: 1.18 @@ -91,10 +91,9 @@ 1.19 pushfw // = 286 : flags[12..15] are forced 0 1.20 popw %dx // > 286 : only flags[15] is forced 0 1.21 popfw // restore flags 1.22 - addb %ah, %dh // test F0 and 00 cases 1.23 - cmpb %ah, %dh 1.24 -jeputs: 1.25 - jbe puts // C=8086/80186, Z=80286 1.26 + cmpb %ah, %dh // test Fx and 0x cases 1.27 +jsputs: 1.28 + js puts // S= not 386+ 1.29 smsww %dx 1.30 shrw $1, %dx 1.31 jc puts