Diff for /np2/io/gdc.h between versions 1.8 and 1.16

version 1.8, 2004/02/26 08:44:32 version 1.16, 2007/11/03 00:00:20
Line 2 Line 2
 #define GDCCMD_MAX      32  #define GDCCMD_MAX      32
   
 typedef struct {  typedef struct {
         BYTE    para[256];          UINT8   para[256];
         UINT16  fifo[GDCCMD_MAX];          UINT16  fifo[GDCCMD_MAX];
         UINT16  cnt;          UINT16  cnt;
         UINT8   ptr;          UINT8   ptr;
Line 26  typedef struct { Line 26  typedef struct {
         UINT8           vsyncint;          UINT8           vsyncint;
         UINT8           display;          UINT8           display;
         UINT8           bitac;          UINT8           bitac;
         UINT8           reserved[2];          UINT8           ff2;
           UINT8           reserved;
         int                     analog;          int                     analog;
         int                     palnum;          int                     palnum;
         UINT8           degpal[4];          UINT8           degpal[4];
Line 35  typedef struct { Line 36  typedef struct {
         UINT32          vsyncclock;          UINT32          vsyncclock;
         UINT32          rasterclock;          UINT32          rasterclock;
         UINT32          hsyncclock;          UINT32          hsyncclock;
   
           UINT32          hclock;
           UINT32          vclock;
   
   #if defined(SUPPORT_PC9821)
           UINT8           anareg[16*3 + 256*4];
   #endif
 } _GDC, *GDC;  } _GDC, *GDC;
   
 typedef struct {  typedef struct {
Line 61  enum { Line 69  enum {
         GDCSCRN_MAKE            = (GDCSCRN_ALLDRAW | GDCSCRN_REDRAW),          GDCSCRN_MAKE            = (GDCSCRN_ALLDRAW | GDCSCRN_REDRAW),
   
         GDCWORK_MASTER          = 0,          GDCWORK_MASTER          = 0,
         GDCWORK_SLAVE           = 1          GDCWORK_SLAVE           = 1,
   
           GDCANALOG_16            = 0,
           GDCANALOG_256           = 1,
           GDCANALOG_256E          = 2,
   
           GDCDISP_PLAZMA          = 0,
           GDCDISP_ANALOG          = 1,
           GDCDISP_PLAZMA2         = 2,
           GDCDISP_15                      = 6,
           GDCDISP_31                      = 7
 };  };
   
   
Line 69  enum { Line 87  enum {
 extern "C" {  extern "C" {
 #endif  #endif
   
 void gdc_reset(void);  void gdc_reset(const NP2CFG *pConfig);
 void gdc_bind(void);  void gdc_bind(void);
   
 void gdc_vectreset(GDCDATA item);  void gdc_vectreset(GDCDATA item);
Line 78  void gdc_forceready(int id); Line 96  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_setdegpalpack(int color, 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_updateclock(void);
 void gdc_restorekacmode(void);  void gdc_restorekacmode(void);
   

Removed from v.1.8  
changed lines
  Added in v.1.16


RetroPC.NET-CVS <cvs@retropc.net>