File:  [RetroPC.NET] / np2 / sound / s98.h
Revision 1.6: download - view: text, annotated - select for diffs
Fri May 13 14:47:25 2005 JST (20 years, 5 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, HEAD
fix sound board address bus (T.Yui)


enum {
	NORMAL2608	= 0,
	EXTEND2608	= 1
};


#ifdef __cplusplus
extern "C" {
#endif

#if !defined(SUPPORT_S98)		// コールすら面倒だ!

#define	S98_init()
#define	S98_trash()
#define	S98_open(f)			(FAILURE)
#define	S98_close()
#define	S98_put(m, a, d)
#define S98_sync()

#else

void S98_init(void);
void S98_trash(void);
BRESULT S98_open(const OEMCHAR *filename);
void S98_close(void);
void S98_put(REG8 module, UINT addr, REG8 data);
void S98_sync(void);

#endif

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>