File:  [RetroPC.NET] / np2 / io / crtc.h
Revision 1.2: download - view: text, annotated - select for diffs
Mon Dec 8 09:55:32 2003 JST (21 years, 10 months ago) by yui
Branches: MAIN
CVS tags: VER_0_74, VER_0_73, HEAD
add IA32 etc... (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);

#ifdef __cplusplus
}
#endif


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