File:  [RetroPC.NET] / np2 / cbus / pc9861k.h
Revision 1.4: download - view: text, annotated - select for diffs
Fri Jan 30 10:56:01 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix defines (T.Yui)


#if !defined(SUPPORT_PC9861K)

#define pc9861k_initialize()
#define	pc9861k_deinitialize()
#define	pc9861k_midipanic()

#else

typedef struct {
	UINT8	result;
	UINT8	data;
	UINT8	signal;
	UINT8	send;

	UINT	pos;
	UINT	dummyinst;
	UINT32	speed;
	SINT32	clk;

	UINT8	dip;
	UINT8	vect;
	UINT8	irq;
} _PC9861CH, *PC9861CH;


#ifdef __cplusplus
extern "C" {
#endif

extern _PC9861CH pc9861ch1;
extern _PC9861CH pc9861ch2;
extern const UINT32 pc9861k_speed[11];


void pc9861ch1cb(NEVENTITEM item);
void pc9861ch2cb(NEVENTITEM item);

void pc9861k_initialize(void);
void pc9861k_deinitialize(void);

void pc9861k_reset(void);
void pc9861k_bind(void);

void pc9861k_midipanic(void);

#ifdef __cplusplus
}
#endif

#endif


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