int Check_Blaster()
{
if ( GetEnvSetting() )
{
printf("BLASTER environment variable not set or incomplete or invalid.\n");
return(1);
}
if (sbc_check_card() == 0)
{
printf("Sound Blaster Card not found or wrong I/O setting.\n") ;
return(1);
}
if (! sbc_test_int())
{
printf("SoundBlaster Error on interrupt!\n");
return(1);
}
if (sbc_test_dma() < 0)
{
printf("SoundBlaster Error on DMA channel!\n");
return(1);
}
return(0);
}