File:  [RetroPC.NET] / xmil / io / subcpu.h
Revision 1.4: download - view: text, annotated - select for diffs
Fri Aug 20 17:41:41 2004 JST (21 years, 2 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix...


typedef struct {
	UINT8	Dx[16][8];
	UINT8	Ex[16][8];
	UINT	dataptr;
	UINT	keycount;
	UINT	keycountrep;
	UINT8	mode;
	UINT8	keydata;
	UINT8	cmdcnt;
	UINT8	datacnt;
	UINT8	IBF;
	UINT8	OBF;
} SUBCPU;


#ifdef __cplusplus
extern "C" {
#endif

void neitem_scpu(UINT id);
BRESULT ieitem_scpu(UINT id);

void IOOUTCALL subcpu_o(UINT port, REG8 dat);		// x1_sub_w
REG8 IOINPCALL subcpu_i(UINT port);					// x1_sub_r

void subcpu_reset(void);

#ifdef __cplusplus
}
#endif


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