Diff for /xmil/io/ppi.c between versions 1.1 and 1.3

version 1.1, 2004/08/01 05:31:30 version 1.3, 2004/08/04 15:18:26
Line 3 Line 3
 #include        "iocore.h"  #include        "iocore.h"
 #include        "x1_io.h"  #include        "x1_io.h"
 #include        "x1_crtc.h"  #include        "x1_crtc.h"
 #include        "x1_vram.h"  
 #include        "draw.h"  #include        "draw.h"
   
   
Line 97  REG8 IOINPCALL ppi_i(UINT port) { Line 96  REG8 IOINPCALL ppi_i(UINT port) {
         if (!pccore.ROM_SW) {          if (!pccore.ROM_SW) {
                 ppi.PORT_B |= 0x10;                                     // 1:RAM                  ppi.PORT_B |= 0x10;                                     // 1:RAM
         }          }
   #if 1
         if (!(v_cnt < crtc.CRT_VS)) {          if (!(v_cnt < crtc.CRT_VS)) {
                 ppi.PORT_B |= 0x04;                                     // V-SYNC                  ppi.PORT_B |= 0x04;                                     // V-SYNC
         }          }
   #else                                                           // ラプラステスト…VYSNCが長すぎるらしい
           if (v_cnt == crtc.CRT_VS) {
                   ppi.PORT_B |= 0x04;
           }
   #endif
         if (crtc.TXT_XL == 40) {          if (crtc.TXT_XL == 40) {
                 ppi.PORT_C |= 0x40;                  ppi.PORT_C |= 0x40;
         }          }

Removed from v.1.1  
changed lines
  Added in v.1.3


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