|
:QGHO_BOOT
setlocal
::call Fn.0 0 0x4ff00 调用内置函数0(sprintf),相当于
::sprintf((char *)0,(char *)0x4ff00),打印内存0x4ff00处的字符串
(1)/BOOT/GRUB/diskid %QGHO.SRC%
call Fn.0 0 0x4ff00 | set SRC.ID=
(1)/BOOT/GRUB/diskid %QGHO.DST%
call Fn.0 0 0x4ff00 | set DST.ID=
set ifs.dsk=%?%
echo %@TIME% Saving configuration....
set key=
:boot_info
call :BOOT_%mode%
call Fn.6
call Fn.5 0 20
echo $[0102]屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯 HardDisk Info 屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯
(1)/BOOT/GRUB/diskid info
call Fn.5 3 2
echo $[0105] %gho_info%
echo $[0102] QGHO: $[0104]%Q_MODE% $[0107]CFG_FILE:%QGHO.CFG% $[0103]%QGHO.OS%
if exist GHO.PWD && echo -pwd=%GHO.PWD% >> (md)0x3000+2
echo $[0102]============================== qgho.ini ==============================
cat (md)0x3000+2
echo -P:1310 $[0105]Press $[1107]ESC$[0105] to quit, any other keys to continue...
call Fn.5 0 1
call Fn.70 0
pause --test-key --wait=18
set /A key=%@retval%
if "%key%"=="0x11B" && exit 3
if /i "%mode%"=="pload" && goto :save_boot
if "%key%"=="0x4800" && set key=- && goto :boot_info
if "%key%"=="0x5000" && set key=+ && goto :boot_info
以上怎么理解?
尤其是if "%key%"=="0x4800" && set key=- && goto :boot_info
if "%key%"=="0x5000" && set key=+ && goto :boot_info
一执行就死锁,只好重启。是新版本grldr改了热键了,还是什么错误引起的?用debug 3 也没找出来。 |
|