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


typedef struct {
	UINT32	baseclock;
	UINT8	vector;
	UINT8	intr;
	UINT8	num;
	UINT8	padding;
	UINT8	cmd[4];
	UINT8	scale[4];
	UINT8	basecnt[4];
	SINT32	count[4];
	SINT32	countmax[4];
} CTCCH;

typedef struct {
	CTCCH	ch[3];
} CTC;


#ifdef __cplusplus
extern "C" {
#endif

void neitem_ctc(UINT id);
BRESULT ieitem_ctc(UINT id);

void IOOUTCALL ctc_o(UINT port, REG8 dat);			// x1_ctc_w
REG8 IOINPCALL ctc_i(UINT port);					// x1_ctc_r

void ctc_reset(void);

#ifdef __cplusplus
}
#endif


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