|
|
| version 1.1, 2003/10/16 17:57:55 | version 1.5, 2005/02/07 14:46:11 |
|---|---|
| Line 1 | Line 1 |
| struct _gdcps; | struct _gdcpset; |
| typedef struct _gdcps _GDCPSET; | typedef struct _gdcpset _GDCPSET; |
| typedef struct _gdcps *GDCPSET; | typedef struct _gdcpset *GDCPSET; |
| typedef void (MEMCALL * GDCPSFN)(GDCPSET pset, UINT addr, UINT bit); | typedef void (MEMCALL * GDCPFN)(GDCPSET pen, UINT addr, UINT bit); |
| struct _gdcps { | struct _gdcpset { |
| GDCPSFN func; | GDCPFN func[2]; |
| BYTE *base; | union { |
| UINT8 *ptr; // raw access / grcg | |
| UINT32 addr; // egc | |
| } base; | |
| UINT16 pattern; | UINT16 pattern; |
| BYTE update; | PAIR16 update; |
| UINT16 x; | UINT16 x; |
| UINT16 y; | UINT16 y; |
| UINT dots; | UINT dots; |
| Line 20 struct _gdcps { | Line 23 struct _gdcps { |
| extern "C" { | extern "C" { |
| #endif | #endif |
| void MEMCALL gdcpset_prepare(GDCPSET pset, UINT32 csrw, UINT16 pat, BYTE op); | void MEMCALL gdcpset_prepare(GDCPSET pset, UINT32 csrw, REG16 pat, REG8 op); |
| void MEMCALL gdcpset(GDCPSET pset, UINT16 x, UINT16 y); | void MEMCALL gdcpset(GDCPSET pset, REG16 x, REG16 y); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |