File:  [RetroPC.NET] / xmil / io / ppi.h
Revision 1.1: download - view: text, annotated - select for diffs
Sun Aug 1 14:31:30 2004 JST (21 years, 3 months ago) by yui
Branches: MAIN
CVS tags: HEAD
initialize


typedef struct {
	UINT8	PORT_A;
	UINT8	PORT_B;
	UINT8	PORT_C;
	UINT8	MODE;
	UINT8	IO_MODE;
} PPI;


#ifdef __cplusplus
extern "C" {
#endif

void IOOUTCALL ppi_o(UINT port, REG8 value);		// x1_8255_w
REG8 IOINPCALL ppi_i(UINT port);					// x1_8255_r

void ppi_initialize(void);
void ppi_reset(void);

#ifdef __cplusplus
}
#endif


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