|
前面的给出的测试包,不大才19M,主要的数据——SRS驱动,你应该也可以测试的。
自己反复测试,能获得更多的新信息。
checkrange 20111106:-1 read 0x8278 > nul || clear && echo -e \n Not supported grub4dos version!\n && exit
calc *0x8280&0xff/2 > nul || debug 1 > nul && command | call :zip_fix =
read 0x82b8 > nul && calc *0x82b9&0xff/2 > nul || debug 1 > nul && command | call :zip_fix =
setlocal && debug 0 || set *
map --mem=0x20000 %~f0 (rd)
cat --locate=\x1f\x8b --number=1 (rd)+1 > nul || exit 1
calc *0x82d8=*0x82d8-%?% > nul
calc *0x82d0=*0x82d0+%?% > nul
map --mem (rd)+1 (1) && map --rehook
map --mem (fd1)/f6.gz (0) && map --rehook
insmod (1)/F6.MOD > nul || exit
if /i %1==--x64 shift 1 || if /i %2==--x64 || echo -n ! set x64=64 && cat --locatei=WinVBlock32 --replace=WinVBlock64 --number=1 (1)/txtsetup.oem > nul
::检测本机的SRSID是否符合标准,标准的ID截取前21位,否则使用完整ID搜索.
chkpci -srs | set WHID=
clear && if not exist WHID && echo -e \n$[0004] Can't Found $[0003]ACHI/RAID controller!\n && goto :end
if /i "%WHID:~0,7%"=="PCI\VEN" set SRSID=%WHID:~0,21% || set SRSID=%WHID%
if "%1"=="" set /u srs=/srs/ || if "%~x1"==".gz" call :.gz %~f1 || set /u srs=%~pnx1 && rootnoverify %~d1
if "%srs:~-1%"=="/" || set srs=%srs%/
checkrange 0x21 read 0x8280 || find --set-root ls %srs% > nul || echo -e \n$[0003] Can't Find the $[0004]%srs%$[0003]!\n && goto :end
if exist %srs%%%SRSID:~8,4%.GZ call :.gz %srs%%%SRSID:~8,4%.GZ || call :%SRSID:~8,4% || call :OTHER
root %srs% || root %@root%%%srs%
ls | call :find_oem %@root% || echo -e \n$[0003] Copy drivers $[0004]success!\n ! if exist x64 echo -e \n$[0003]The controller x64 drivers are $[0004]not found$[0003]! Your hardware ID is:\n $[0005] %WHID% || echo -e \n$[0003]The controller x86 drivers are $[0004]not found$[0003]! Your hardware ID is:\n $[0005] %WHID%
:end
map --unmap=2 && map --rehook
endlocal && delmod fat > nul && delmod chkpci > nul
exit |
debug 0x7fffffff效果一样,还是显示那2行(前面有图)。是内部关闭了。
debug 3 发现是卡在上红色哪行。没有发现循环。再也不接受输入了,
|
|