File:  [RetroPC.NET] / np2 / io / crtc.h
Revision 1.3: download - view: text, annotated - select for diffs
Mon Mar 15 08:45:44 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, VER_0_75, HEAD
fix itf reset (T.Yui)


typedef union {
	struct {
		UINT8	pl;
		UINT8	bl;
		UINT8	cl;
		UINT8	ssl;
		UINT8	sur;
		UINT8	sdr;
	} reg;
	UINT8	b[6];
} _CRTC, *CRTC;

typedef union {
	UINT8	b[2];
	UINT16	w;
} PAIR16;

typedef struct {
	UINT32	counter;
	UINT16	mode;
	UINT8	modereg;
	UINT8	padding;
	PAIR16	tile[4];
	UINT32	gdcwithgrcg;
	UINT8	chip;
} _GRCG, *GRCG;


#ifdef __cplusplus
extern "C" {
#endif

void crtc_reset(void);
void crtc_bind(void);

void crtc_biosreset(void);

#ifdef __cplusplus
}
#endif


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