中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 22:59
47,812 topics / 349,916 posts / today 0 new / 48,268 members
论坛回收站 » Please provide the specific program content that needs to be analyzed so that I can help you translate and analyze it.
Printable Version  1,860 / 2
Floor1 peterpan Posted 2009-10-21 14:12
新手上路 Posts 5 Credits 6
@echo off
@echo. ......... Audio Functionality Testing ........ !!!
cd c:\km10nbu\sigmatel
set test=Audio function Test
del smat.*
physmem >temp.txt
copy set.txt+temp.txt temp.bat
call temp.bat
dos4gw smat21 km10nbu.ini 0x%temp%
if errorlevel 1 goto Fail
set test=Audio Port Sense Test
find "Doing port sense with 0xD,0xE,0xF,0x10 ports occupied" smat.000
if errorlevel 1 goto Fail
find "Doing port sense with 0xE,0xF ports occupied" smat.000
if errorlevel 1 goto Fail
find "PASS: Pin Widget NID 0x10 port not occupied" smat.000
if errorlevel 1 goto Fail
find "PASS: Pin Widget NID 0x0D port not occupied" smat.000
if errorlevel 1 goto Fail
find "PASS: 7 test runs passed" smat.000
if errorlevel 1 goto Fail
goto Pass

:Fail
set status=FAIL
set code=Q01
@echo. %test% %status%
goto end

ass
set status=PASS
cls
@echo. ......... Audio Functionality Test Passed ........ !!!

:END
Floor2 ilikeflyer Posted 2009-10-21 22:40
新手上路 Posts 1 Credits 1
Floor3 peterpan Posted 2009-10-22 14:43
新手上路 Posts 5 Credits 6
This is a batch script for testing the AUDIO of the motherboard! Used to judge the return value. The real test program is still in other directories
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023