|
|
| version 1.3, 2004/02/05 11:34:43 | version 1.4, 2004/02/09 20:39:39 |
|---|---|
| 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[2]; | GDCPFN func[2]; |
| union { | union { |
| BYTE *ptr; // raw access / grcg | BYTE *ptr; // raw access / grcg |
| UINT32 addr; // egc | UINT32 addr; // egc |
| Line 24 extern "C" { | Line 24 extern "C" { |
| #endif | #endif |
| void MEMCALL gdcpset_prepare(GDCPSET pset, UINT32 csrw, REG16 pat, REG8 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 |
| } | } |