home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
sndbords
/
proaudio
/
pcmtools
/
pcmtools.arj
/
LOADPCM.ARJ
/
STATPCM.BAT
< prev
Wrap
DOS Batch File
|
1992-09-01
|
675b
|
34 lines
@echo off
if "%debug%" == "yes" echo on
:: check the status of pcm.com
:: a return of 0 is OKAY, 1 or 2 is an error
loadpcm s > nul
if errorlevel 2 goto noxms
if errorlevel 1 goto nopcm
echo PCM and XMS are available!
:: verify that the DMA buffer is not 0000:0000, 0 pars and 0 divs
loadpcm S > nul
if errorlevel 1 goto nodma
echo DMA buffer appears to be set!
goto quit
:nodma
echo Error: the DMA buffer does not appear to be set:
loadpcm S
goto quit
:nopcm
echo Error: the TSR does not appear to be loaded.
goto quit
:noxms
echo Error: there does not seem to be an XMS handler available.
goto quit
:quit