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>