Diff for /np2/cbus/amd98.c between versions 1.12 and 1.14

version 1.12, 2004/03/19 00:30:00 version 1.14, 2004/06/22 04:33:49
Line 279  static void IOOUTCALL amd_ode(UINT port, Line 279  static void IOOUTCALL amd_ode(UINT port,
         (void)port;          (void)port;
 }  }
   
   static REG8 IOINPCALL amd_ida(UINT port) {
   
           if (opn.opnreg < 0x0e) {
                   return(psggen_getreg(&psg1, opn.opnreg));
           }
           else if (opn.opnreg == 0x0f) {
                   return(psg1.reg.io2);
           }
           (void)port;
           return(0xff);
   }
   
   static REG8 IOINPCALL amd_idb(UINT port) {
   
           if (opn.extreg < 0x0e) {
                   return(psggen_getreg(&psg2, opn.extreg));
           }
           else if (opn.extreg == 0x0f) {
                   return(psg2.reg.io2);
           }
           (void)port;
           return(0xff);
   }
   
   static REG8 IOINPCALL amd_inp(UINT port) {
   
           TRACEOUT(("amd inp - %.4x", port));
           return(0xff);
   }
   
 // ----  // ----
   
Line 309  void amd98_bind(void) { Line 338  void amd98_bind(void) {
         iocore_attachout(0xdb, amd_odb);          iocore_attachout(0xdb, amd_odb);
         iocore_attachout(0xdc, amd_odc);          iocore_attachout(0xdc, amd_odc);
         iocore_attachout(0xde, amd_ode);          iocore_attachout(0xde, amd_ode);
   
           iocore_attachinp(0xda, amd_ida);
           iocore_attachinp(0xdb, amd_idb);
   #if defined(TRACE)
           iocore_attachinp(0xd8, amd_inp);
           iocore_attachinp(0xd9, amd_inp);
           iocore_attachinp(0xdc, amd_inp);
           iocore_attachinp(0xde, amd_inp);
   #endif
 }  }
   

Removed from v.1.12  
changed lines
  Added in v.1.14


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