File:  [RetroPC.NET] / xmil / io / sndboard.h
Revision 1.4: download - view: text, annotated - select for diffs
Fri Aug 13 02:57:36 2004 JST (21 years, 2 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix...


typedef struct {
	UINT8	psgreg;
	UINT8	opmreg;
	UINT8	rapids;
	UINT8	padding;
	UINT8	psgdat[0x10];
	UINT8	opmdat[0x100];
} SNDBOARD;


#ifdef __cplusplus
extern "C" {
#endif

void sndboard_update(void);

void IOOUTCALL opm_o(UINT port, REG8 dat);
REG8 IOINPCALL opm_i(UINT port);

void IOOUTCALL sndboard_psgreg(UINT port, REG8 dat);
void IOOUTCALL sndboard_psgdat(UINT port, REG8 dat);
REG8 IOINPCALL sndboard_psgsta(UINT port);

void sndboard_reset(void);

#ifdef __cplusplus
}
#endif


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