--- np2/io/gdc.h 2004/02/29 00:57:06 1.9 +++ np2/io/gdc.h 2004/03/23 22:39:40 1.14 @@ -26,7 +26,8 @@ typedef struct { UINT8 vsyncint; UINT8 display; UINT8 bitac; - UINT8 reserved[2]; + UINT8 ff2; + UINT8 reserved; int analog; int palnum; UINT8 degpal[4]; @@ -35,6 +36,13 @@ typedef struct { UINT32 vsyncclock; UINT32 rasterclock; UINT32 hsyncclock; + + UINT32 hclock; + UINT32 vclock; + +#if defined(SUPPORT_PC9821) + UINT8 anareg[16*3 + 256*4]; +#endif } _GDC, *GDC; typedef struct { @@ -65,6 +73,7 @@ enum { GDCANALOG_16 = 0, GDCANALOG_256 = 1, + GDCANALOG_256E = 2, GDCDISP_PLAZMA = 0, GDCDISP_ANALOG = 1, @@ -87,9 +96,15 @@ void gdc_forceready(int id); void gdc_paletteinit(void); void gdc_setdegitalpal(int color, REG8 value); -void gdc_setanalogpal(int color, int rgb, REG8 value); void gdc_setdegpalpack(int color, REG8 value); +void gdc_setanalogpal(int color, int rgb, REG8 value); +void gdc_setanalogpalall(const UINT16 *paltbl); + +#if defined(SUPPORT_PC9821) +void gdc_analogext(BOOL extend); +#endif +void gdc_biosreset(void); void gdc_updateclock(void); void gdc_restorekacmode(void);