|
|
| version 1.3, 2004/01/25 05:41:28 | version 1.5, 2004/01/30 14:33:27 |
|---|---|
| Line 1 | Line 1 |
| #if !defined(SUPPORT_PC9861K) | |
| #define pc9861k_initialize() | |
| #define pc9861k_deinitialize() | |
| #define pc9861k_midipanic() | |
| #else | |
| typedef struct { | typedef struct { |
| UINT8 result; | UINT8 result; |
| UINT8 data; | UINT8 data; |
| Line 15 typedef struct { | Line 23 typedef struct { |
| UINT8 irq; | UINT8 irq; |
| } _PC9861CH, *PC9861CH; | } _PC9861CH, *PC9861CH; |
| typedef struct { | |
| _PC9861CH ch1; | |
| _PC9861CH ch2; | |
| BOOL en; | |
| } _PC9861K, *PC9861K; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern _PC9861CH pc9861ch1; | |
| extern _PC9861CH pc9861ch2; | |
| extern const UINT32 pc9861k_speed[11]; | extern const UINT32 pc9861k_speed[11]; |
| extern _PC9861K pc9861k; | |
| void pc9861ch1cb(NEVENTITEM item); | void pc9861ch1cb(NEVENTITEM item); |
| void pc9861ch2cb(NEVENTITEM item); | void pc9861ch2cb(NEVENTITEM item); |
| void pc9861k_construct(void); | void pc9861k_initialize(void); |
| void pc9861k_destruct(void); | void pc9861k_deinitialize(void); |
| void pc9861k_reset(void); | void pc9861k_reset(void); |
| void pc9861k_bind(void); | void pc9861k_bind(void); |
| Line 40 void pc9861k_midipanic(void); | Line 52 void pc9861k_midipanic(void); |
| } | } |
| #endif | #endif |
| #endif | |