File:  [RetroPC.NET] / np2 / io / gdc_sub.h
Revision 1.2: 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: HEAD
fix gdc (T.Yui)


enum {
	GDCOPE_REPLACE		= 0,
	GDCOPE_COMPLEMENT	= 1,
	GDCOPE_CLEAR		= 2,
	GDCOPE_SET			= 3
};

typedef struct {
	BYTE	ope;
	BYTE	DC[2];
	BYTE	D[2];
	BYTE	D2[2];
	BYTE	D1[2];
	BYTE	DM[2];
} GDCVECT;

typedef void (*GDCSUBFN)(UINT32 csrw, const GDCVECT *vect,
														UINT16 pat, BYTE ope);


#ifdef __cplusplus
extern "C" {
#endif

void gdcslavewait(NEVENTITEM item);

void gdcsub_init(void);
void gdcsub_null(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope);
void gdcsub_line(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope);
void gdcsub_box(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope);
void gdcsub_circle(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope);
void gdcsub_text(UINT32 csrw, const GDCVECT *vect, const BYTE *pat, REG8 ope);
void gdcsub_write(void);

#ifdef __cplusplus
}
#endif


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