File:  [RetroPC.NET] / np2 / io / gdc_pset.h
Revision 1.3: download - view: text, annotated - select for diffs
Thu Feb 5 20:34:43 2004 JST (21 years, 8 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix gdc (T.Yui)


struct _gdcps;
typedef struct _gdcps	_GDCPSET;
typedef struct _gdcps	*GDCPSET;

typedef void (MEMCALL * GDCPSFN)(GDCPSET pset, UINT addr, UINT bit);

struct _gdcps {
	GDCPSFN	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, UINT16 x, UINT16 y);

#ifdef __cplusplus
}
#endif


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