1 /* MikMod sound library
2 (c) 1998, 1999, 2000 Miodrag Vallat and others - see file AUTHORS for
5 This library is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of
8 the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 /*==============================================================================
27 ==============================================================================*/
31 Written by Jean-Paul Mikkers <mikmak@via.nl>
43 #include "mikmod_internals.h"
47 static SBYTE *zerobuf=NULL;
49 static BOOL NS_IsThere(void)
54 static int NS_Init(void)
56 zerobuf=(SBYTE*)MikMod_malloc(ZEROLEN);
60 static void NS_Exit(void)
67 static void NS_Update(void)
70 VC_WriteBytes(zerobuf,ZEROLEN);
73 MIKMODAPI MDRIVER drv_nos={
76 "Nosound Driver v3.0",