bios.bat
来自「AWARD BIOS源代码,支持的CHIPSET请看文件,有同型号的板子烧上去就」· Batch 代码 · 共 88 行
BAT
88 行
@echo off
::----------------------------------------------------------------------------
::Rev Date Name Description
::----------------------------------------------------------------------------
::R06 10/22/98 RAY Call batch(rpb_mlib.bat) to compile the Preboot Agent
:: (RPB) codes.
::R05 06/24/98 KVN Added a switch to avoid system hang while make BIOS
::R04 03/09/98 JRY For exit BIOS.BAT when GETASL error message event.
::R03 01/23/98 JKY Added YGROUP combine (store SMI code).
::R02 07/09/97 DNL Added ACPI function support
::R01 12/28/96 RCH Added bat file for supporting special ROM combining.
:: like full screen logo.
::R00 01/22/96 RAY Initial revision for using NMAKE.EXE
if "%1"=="" goto :noinput
:yesinput
if "%1"=="%_last%" goto :mklast
set _last=%1
goto :mknew
:noinput
if "%_last%"=="" goto :error
goto :mklast
:mknew
echo.
echo About to build the entire BIOS...
echo.
touch bios.cfg
goto :mkbios
:mklast
echo.
echo Making the same version as last build
:mkbios
echo.
echo Building %_last%.BIN
echo.
::R02 - start
getasl R
::R02 - end
::R04 - start
::@echo off
::if errorlevel 1 goto :end
::echo.
::R04 - end
::R05 nmake "NAME=%_last%" /nologo /f bios.mak
::R06 - starts
if not exist rpb_mlib.bat goto :NotRpb
call rpb_mlib.bat
if not exist rpb*.obj goto :end
:NotRpb
::R06 - ends
nmake "NAME=%_last%" /M /nologo /f bios.mak
if exist awardeyt.rom cbrom /ygroup awardeyt.rom
echo.
::R01
::if not errorlevel 1 CKCMOS /F
if errorlevel 1 goto :end
if exist AddRom.bat call AddRom.bat
CKCMOS /F
::R01
echo.
goto :end
:error
echo.
echo Error! No previous version to build. Use SETTYPE.BAT
echo or type full part number
echo.
echo Example (1):
echo.
echo settype 2a59c000
echo bios
echo.
echo Example (2):
echo.
echo bios 2a59c000
echo.
goto :end
:end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?