|
|
| version 1.3, 2003/12/08 00:55:32 | version 1.7, 2004/02/21 00:25:33 |
|---|---|
| Line 18 typedef struct { | Line 18 typedef struct { |
| _GDCDATA s; | _GDCDATA s; |
| UINT8 mode1; | UINT8 mode1; |
| UINT8 mode2; | UINT8 mode2; |
| UINT8 clock; | |
| UINT8 crt15khz; | |
| UINT8 m_drawing; | |
| UINT8 s_drawing; | |
| UINT8 vsync; | UINT8 vsync; |
| UINT8 vsyncint; | UINT8 vsyncint; |
| UINT8 display; | |
| UINT8 bitac; | |
| UINT8 reserved[2]; | |
| int analog; | int analog; |
| int palnum; | int palnum; |
| UINT8 degpal[4]; | UINT8 degpal[4]; |
| RGB32 anapal[16]; | RGB32 anapal[16]; |
| UINT8 clock; | |
| UINT8 display; | UINT32 dispclock; |
| UINT8 bitac; | UINT32 vsyncclock; |
| UINT8 m_drawing; | UINT32 rasterclock; |
| UINT8 s_drawing; | UINT32 hsyncclock; |
| UINT8 reserved[3]; | |
| } _GDC, *GDC; | } _GDC, *GDC; |
| typedef struct { | typedef struct { |
| Line 49 enum { | Line 55 enum { |
| GDCSCRN_ENABLE = 0x80, | GDCSCRN_ENABLE = 0x80, |
| GDCSCRN_EXT = 0x40, | GDCSCRN_EXT = 0x40, |
| GDCSCRN_ATR = 0x10, | |
| GDCSCRN_ALLDRAW = 0x04, | GDCSCRN_ALLDRAW = 0x04, |
| GDCSCRN_REDRAW = 0x01, | GDCSCRN_REDRAW = 0x01, |
| GDCSCRN_ALLDRAW2 = 0x0c, | GDCSCRN_ALLDRAW2 = 0x0c, |
| Line 68 extern "C" { | Line 73 extern "C" { |
| void gdc_reset(void); | void gdc_reset(void); |
| void gdc_bind(void); | void gdc_bind(void); |
| void gdc_vectreset(GDCDATA item); | |
| void gdc_work(int id); | void gdc_work(int id); |
| void gdc_forceready(GDCDATA item); | void gdc_forceready(int id); |
| void gdc_paletteinit(void); | void gdc_paletteinit(void); |
| void gdc_setdegitalpal(int color, REG8 value); | void gdc_setdegitalpal(int color, REG8 value); |
| void gdc_setanalogpal(int color, int rgb, REG8 value); | void gdc_setanalogpal(int color, int rgb, REG8 value); |
| void gdc_setdegpalpack(int color, REG8 value); | void gdc_setdegpalpack(int color, REG8 value); |
| void gdc_updateclock(void); | |
| void gdc_restorekacmode(void); | void gdc_restorekacmode(void); |
| #ifdef __cplusplus | #ifdef __cplusplus |