File:  [RetroPC.NET] / np2 / io / lsidef.h
Revision 1.1: download - view: text, annotated - select for diffs
Fri Mar 19 09:32:31 2004 JST (21 years, 7 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, HEAD
test0.751 (fix PIC/PIT) (T.Yui)


typedef struct {
	UINT8	porta;
	UINT8	portb;
	UINT8	portc;
	UINT8	mode;
} uPD8255;

enum {
	uPD8255_PORTCL	= 0x01,
	uPD8255_PORTB	= 0x02,
	uPD8255_GROUPB	= 0x04,
	uPD8255_PORTCH	= 0x08,
	uPD8255_PORTA	= 0x10,
	uPD8255_GROUPA	= 0x60,
	uPD8255_CTRL	= 0x80
};


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