File:  [RetroPC.NET] / np2 / io / gdc_pset.h
Revision 1.5: download - view: text, annotated - select for diffs
Mon Feb 7 23:46:11 2005 JST (20 years, 8 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, HEAD
use UINT8 (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 {
		UINT8	*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>