Diff for /np2/cbus/boardx2.c between versions 1.6 and 1.7

version 1.6, 2005/02/09 20:11:33 version 1.7, 2005/05/12 17:24:05
Line 59  static REG8 IOINPCALL opn_i08a(UINT port Line 59  static REG8 IOINPCALL opn_i08a(UINT port
                 return(psggen_getreg(&psg1, opn.opn2reg));                  return(psggen_getreg(&psg1, opn.opn2reg));
         }          }
         (void)port;          (void)port;
   #if 1
           return(opn.opn2reg);
   #else
         return(0xff);          return(0xff);
   #endif
 }  }
   
   
Line 141  static REG8 IOINPCALL opna_i188(UINT por Line 145  static REG8 IOINPCALL opna_i188(UINT por
   
 static REG8 IOINPCALL opna_i18a(UINT port) {  static REG8 IOINPCALL opna_i18a(UINT port) {
   
           (void)port;
         if (opn.opnreg == 0x0e) {          if (opn.opnreg == 0x0e) {
                 return(fmboard_getjoy(&psg2));                  return(fmboard_getjoy(&psg2));
         }          }
         else if (opn.opnreg < 0x10) {          else if (opn.opnreg < 0x10) {
                 return(psggen_getreg(&psg2, opn.opnreg));                  return(psggen_getreg(&psg2, opn.opnreg));
         }          }
         (void)port;  #if 1
           else if (opn.opnreg == 0xff) {
                   return(1);
           }
           return(opn.opnreg);
   #else
         return(opn.reg[opn.opnreg]);          return(opn.reg[opn.opnreg]);
   #endif
 }  }
   
 static REG8 IOINPCALL opna_i18c(UINT port) {  static REG8 IOINPCALL opna_i18c(UINT port) {

Removed from v.1.6  
changed lines
  Added in v.1.7


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