File:
[RetroPC.NET] /
np2 /
cbus /
pc9861k.h
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Fri Jan 30 23:33:27 2004 JST (21 years, 9 months ago) by
yui
Branches:
MAIN
CVS tags:
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
HEAD
fix gdc/egc (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;
typedef struct {
_PC9861CH ch1;
_PC9861CH ch2;
BOOL en;
} _PC9861K, *PC9861K;
#ifdef __cplusplus
extern "C" {
#endif
extern const UINT32 pc9861k_speed[11];
extern _PC9861K pc9861k;
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>