--- np2/io/gdc_sub.h 2004/02/18 21:58:41 1.7 +++ np2/io/gdc_sub.h 2005/02/07 14:46:11 1.11 @@ -7,14 +7,16 @@ enum { }; typedef struct { - BYTE ope; - BYTE DC[2]; - BYTE D[2]; - BYTE D2[2]; - BYTE D1[2]; - BYTE DM[2]; + UINT8 ope; + UINT8 DC[2]; + UINT8 D[2]; + UINT8 D2[2]; + UINT8 D1[2]; + UINT8 DM[2]; } GDCVECT; +extern const UINT32 gdcplaneseg[4]; + typedef void (*GDCSUBFN)(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); @@ -34,13 +36,16 @@ REG8 gdcbitreverse(REG8 data); void gdcslavewait(NEVENTITEM item); void gdcsub_initialize(void); +void gdcsub_setslavewait(UINT32 clock); +void gdcsub_setvectl(GDCVECT *vect, int x1, int y1, int x2, int y2); + void gdcsub_vect0(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); void gdcsub_vectl(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); void gdcsub_vectt(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); void gdcsub_vectc(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); void gdcsub_vectr(UINT32 csrw, const GDCVECT *vect, REG16 pat, REG8 ope); -void gdcsub_text(UINT32 csrw, const GDCVECT *vect, const BYTE *pat, REG8 ope); +void gdcsub_text(UINT32 csrw, const GDCVECT *vect, const UINT8 *pat, REG8 ope); void gdcsub_write(void); #ifdef __cplusplus