File:  [RetroPC.NET] / np2 / io / pit.h
Revision 1.3: download - view: text, annotated - select for diffs
Fri Nov 21 15:51:11 2003 JST (21 years, 11 months ago) by yui
Branches: MAIN
CVS tags: VER_0_72, HEAD
debuneko- (T.Yui)


typedef struct {
	BYTE	mode[4];
	BYTE	flag[4];
	BYTE	intr[4];
	UINT16	value[4];
	UINT16	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>