📄 ucodezip.bat
字号:
echo off
rem *************** 1. Inc2Bin ***************
del UcodeSz.def
rem *** 1.1 DSP ucodes ***
rem del DSP.bin
inc2bin.exe ac3pram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe dtspram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe mp3pram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe mpgpram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe pcmpram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe wmapram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe ac3eram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe dtseram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe mp3eram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe mpgeram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe pcmeram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
inc2bin.exe wmaeram.inc DSP.bin UcodeSz.def
if errorlevel 1 goto error
rem *** 1.2 IRAM ucode ***
rem del IRAM.bin
inc2bin.exe iram.inc IRAM.bin UcodeSz.def
if errorlevel 1 goto error
rem *** 1.3 CRAM ucode ***
rem del CRAM.bin
inc2bin.exe cram.inc CRAM.bin UcodeSz.def
if errorlevel 1 goto error
rem *** 1.4 separate DSP ucodes ***
rem del DSP.bin
del Dummy
inc2bin.exe ac3pram.inc AC3.bin Dummy
if errorlevel 1 goto error
inc2bin.exe ac3eram.inc AC3.bin Dummy
if errorlevel 1 goto error
inc2bin.exe dtspram.inc DTS.bin Dummy
if errorlevel 1 goto error
inc2bin.exe dtseram.inc DTS.bin Dummy
if errorlevel 1 goto error
inc2bin.exe mp3pram.inc MP3.bin Dummy
if errorlevel 1 goto error
inc2bin.exe mp3eram.inc MP3.bin Dummy
if errorlevel 1 goto error
inc2bin.exe mpgpram.inc MPG.bin Dummy
if errorlevel 1 goto error
inc2bin.exe mpgeram.inc MPG.bin Dummy
if errorlevel 1 goto error
inc2bin.exe pcmpram.inc PCM.bin Dummy
if errorlevel 1 goto error
inc2bin.exe pcmeram.inc PCM.bin Dummy
if errorlevel 1 goto error
inc2bin.exe wmapram.inc WMA.bin Dummy
if errorlevel 1 goto error
inc2bin.exe wmaeram.inc WMA.bin Dummy
if errorlevel 1 goto error
rem *************** 2. GZIP ***************
rem *** 2.1 DSP ucodes ***
rem del DSP.bin.gz
gzip.exe DSP.bin
if errorlevel 1 goto error
rem gzip.exe will delete DSP.bin
rem *** 2.2 IRAM ucode ***
rem del IRAM.bin.gz
gzip.exe IRAM.bin
if errorlevel 1 goto error
rem gzip.exe will delete IRAM.bin
rem *** 2.3 CRAM ucode ***
rem del CRAM.bin.gz
gzip.exe CRAM.bin
if errorlevel 1 goto error
rem gzip.exe will delete CRAM.bin.gz
rem *** 2.4 separate DSP ucodes ***
gzip.exe AC3.bin
if errorlevel 1 goto error
gzip.exe DTS.bin
if errorlevel 1 goto error
gzip.exe MP3.bin
if errorlevel 1 goto error
gzip.exe MPG.bin
if errorlevel 1 goto error
gzip.exe PCM.bin
if errorlevel 1 goto error
gzip.exe WMA.bin
if errorlevel 1 goto error
rem *************** 3. Bin2Inc ***************
rem *** 3.1 DSP ucodes ***
bin2inc.exe DSP.bin.gz DSP.txt
if errorlevel 1 goto error
del DSP.bin.gz
rem *** 3.2 IRAM ucode ***
bin2inc.exe IRAM.bin.gz IRAM.txt
if errorlevel 1 goto error
del IRAM.bin.gz
rem *** 3.3 CRAM ucode ***
bin2inc.exe CRAM.bin.gz CRAM.txt
if errorlevel 1 goto error
del CRAM.bin.gz
rem *** 3.4 separate DSP ucodes ***
bin2inc.exe AC3.bin.gz AC3.txt
if errorlevel 1 goto error
del AC3.bin.gz
bin2inc.exe DTS.bin.gz DTS.txt
if errorlevel 1 goto error
del DTS.bin.gz
bin2inc.exe MP3.bin.gz MP3.txt
if errorlevel 1 goto error
del MP3.bin.gz
bin2inc.exe MPG.bin.gz MPG.txt
if errorlevel 1 goto error
del MPG.bin.gz
bin2inc.exe PCM.bin.gz PCM.txt
if errorlevel 1 goto error
del PCM.bin.gz
bin2inc.exe WMA.bin.gz WMA.txt
if errorlevel 1 goto error
del WMA.bin.gz
goto end
:error
echo Something is wrong !!! Please Check It.
:end
echo on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -