Diff for /np2/cbus/cs4231io.c between versions 1.7 and 1.9

version 1.7, 2004/03/29 14:19:25 version 1.9, 2005/02/07 14:46:08
Line 111  void IOOUTCALL cs4231io_w8(UINT port, RE Line 111  void IOOUTCALL cs4231io_w8(UINT port, RE
                         dmac_detach(DMADEV_CS4231);                          dmac_detach(DMADEV_CS4231);
                         if (cs4231.dmach != 0xff) {                          if (cs4231.dmach != 0xff) {
                                 dmac_attach(DMADEV_CS4231, cs4231.dmach);                                  dmac_attach(DMADEV_CS4231, cs4231.dmach);
   #if 0
                                   if (cs4231.sdc_enable) {
                                           dmac.dmach[cs4231.dmach].ready = 1;
                                           dmac_check();
                                   }
   #endif
                         }                          }
                         break;                          break;
   
Line 145  REG8 IOINPCALL cs4231io_r8(UINT port) { Line 151  REG8 IOINPCALL cs4231io_r8(UINT port) {
                         return(cs4231.index & 0x7f);                          return(cs4231.index & 0x7f);
   
                 case 5:                  case 5:
                         return(*(((BYTE *)(&cs4231.reg)) + (cs4231.index & 0x1f)));                          return(*(((UINT8 *)(&cs4231.reg)) + (cs4231.index & 0x1f)));
   
                 case 6:                  case 6:
                         return(cs4231.intflag);                          return(cs4231.intflag);

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


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