File:  [RetroPC.NET] / np2 / io / gdc_pset.h
Revision 1.4: download - view: text, annotated - select for diffs
Tue Feb 10 05:39:39 2004 JST (21 years, 8 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, HEAD
fix gdc (T.Yui)


struct _gdcpset;
typedef struct _gdcpset		_GDCPSET;
typedef struct _gdcpset		*GDCPSET;

typedef void (MEMCALL * GDCPFN)(GDCPSET pen, UINT addr, UINT bit);

struct _gdcpset {
	GDCPFN	func[2];
	union {
		BYTE	*ptr;			// raw access / grcg
		UINT32	addr;			// egc
	}		base;
	UINT16	pattern;
	PAIR16	update;
	UINT16	x;
	UINT16	y;
	UINT	dots;
};


#ifdef __cplusplus
extern "C" {
#endif

void MEMCALL gdcpset_prepare(GDCPSET pset, UINT32 csrw, REG16 pat, REG8 op);
void MEMCALL gdcpset(GDCPSET pset, REG16 x, REG16 y);

#ifdef __cplusplus
}
#endif


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