Diff for /np2/io/gdc.c between versions 1.22 and 1.23

version 1.22, 2004/02/21 00:25:33 version 1.23, 2004/02/26 08:44:32
Line 21  typedef struct { Line 21  typedef struct {
         UINT    maxy;          UINT    maxy;
 } GDCCLK;  } GDCCLK;
   
   // 31kHzの時の動作クロックが不明…
 static const GDCCLK gdcclk[] = {  static const GDCCLK gdcclk[] = {
                         {14318180 / 8, 112 - 8, 112 + 8, 200, 300},                          {14318180 / 8, 112 - 8, 112 + 8, 200, 300},
                         {21052600 / 8, 106 - 6, 106 + 6, 400, 575},                          {21052600 / 8, 106 - 6, 106 + 6, 400, 575},
                         {25056815 / 8, 106 - 6, 106 + 6, 400, 575},                          {25260000 / 8, 100 - 8, 100 + 8, 400, 575}};
                         {25175000 / 8, 100 - 4, 100 + 4, 400, 575}};  
   
 static const UINT8 defdegpal[4] = {0x04,0x15,0x26,0x37};  
   typedef struct {
           UINT8   master[8];
           UINT8   slave[8];
   } GDCSYNC;
   
 static const UINT8 defsyncm15[8] = {0x10,0x4e,0x07,0x25,0x0d,0x0f,0xc8,0x94};  static const UINT8 defsyncm15[8] = {0x10,0x4e,0x07,0x25,0x0d,0x0f,0xc8,0x94};
 static const UINT8 defsyncs15[8] = {0x06,0x26,0x03,0x11,0x86,0x0f,0xc8,0x94};  static const UINT8 defsyncs15[8] = {0x06,0x26,0x03,0x11,0x86,0x0f,0xc8,0x94};
Line 35  static const UINT8 defsyncs15[8] = {0x06 Line 39  static const UINT8 defsyncs15[8] = {0x06
 static const UINT8 defsyncm24[8] = {0x10,0x4e,0x07,0x25,0x07,0x07,0x90,0x65};  static const UINT8 defsyncm24[8] = {0x10,0x4e,0x07,0x25,0x07,0x07,0x90,0x65};
 static const UINT8 defsyncs24[8] = {0x06,0x26,0x03,0x11,0x83,0x07,0x90,0x65};  static const UINT8 defsyncs24[8] = {0x06,0x26,0x03,0x11,0x83,0x07,0x90,0x65};
   
   static const UINT8 defsyncm31[8] = {0x10,0x4e,0x47,0x0c,0x07,0x0d,0x90,0x89};
   static const UINT8 defsyncs31[8] = {0x06,0x26,0x41,0x0c,0x83,0x0d,0x90,0x89};
   
   
   static const UINT8 defdegpal[4] = {0x04,0x15,0x26,0x37};
   
   
   
   
 void gdc_setdegitalpal(int color, REG8 value) {  void gdc_setdegitalpal(int color, REG8 value) {
   

Removed from v.1.22  
changed lines
  Added in v.1.23


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