File:  [RetroPC.NET] / np2 / io / pit.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Fri Oct 17 02:57:56 2003 JST (22 years ago) by yui
Branches: mie
CVS tags: start, rel_036, VER_0_70
Neko Project II


typedef struct {
	BYTE		mode[4];
	BYTE		flag[4];
	BYTE		high[4];
	union {
		BYTE	b[2];
		UINT16	w;
	} value[4];
	union {
		BYTE	b[2];
		UINT16	w;
	} latch[4];
} _PIT, *PIT;


#ifdef __cplusplus
extern "C" {
#endif

void systimer_noint(NEVENTITEM item);
void systimer(NEVENTITEM item);
void beeponeshot(NEVENTITEM item);
void rs232ctimer(NEVENTITEM item);

void itimer_setflag(int ch, BYTE value);
BOOL itimer_setcount(int ch, BYTE value);
BYTE itimer_getcount(int ch);

void itimer_reset(void);
void itimer_bind(void);

#ifdef __cplusplus
}
#endif


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