|
|
| version 1.1.1.1, 2003/10/16 17:57:50 | version 1.3, 2004/03/14 23:45:44 |
|---|---|
| Line 1 | Line 1 |
| typedef union { | typedef union { |
| struct { | struct { |
| BYTE pl; | UINT8 pl; |
| BYTE bl; | UINT8 bl; |
| BYTE cl; | UINT8 cl; |
| BYTE ssl; | UINT8 ssl; |
| BYTE sur; | UINT8 sur; |
| BYTE sdr; | UINT8 sdr; |
| } reg; | } reg; |
| BYTE b[6]; | UINT8 b[6]; |
| } _CRTC, *CRTC; | } _CRTC, *CRTC; |
| typedef union { | typedef union { |
| BYTE b[2]; | UINT8 b[2]; |
| UINT16 w; | UINT16 w; |
| } PAIR16; | } PAIR16; |
| typedef struct { | typedef struct { |
| UINT32 counter; | UINT32 counter; |
| UINT16 mode; | UINT16 mode; |
| BYTE modereg; | UINT8 modereg; |
| BYTE padding; | UINT8 padding; |
| PAIR16 tile[4]; | PAIR16 tile[4]; |
| UINT32 gdcwithgrcg; | UINT32 gdcwithgrcg; |
| BYTE chip; | UINT8 chip; |
| } _GRCG, *GRCG; | } _GRCG, *GRCG; |
| Line 34 extern "C" { | Line 34 extern "C" { |
| void crtc_reset(void); | void crtc_reset(void); |
| void crtc_bind(void); | void crtc_bind(void); |
| void crtc_biosreset(void); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |