Previous 15994 Revisions Next

r4052 Friday 2nd January, 2009 at 19:55:26 UTC by Firewave
Commented out a few more unused variables exposed by cppcheck.
[src/mess/machine]adam.c x68k_hdc.c

src/mess/machine/adam.c
r4051r4052
521521If you have the source listing or the Rom dump, please send us.
522522*/
523523   int DCB_Num, deviceNum, statusDCB;
524   int i, buffer, byteCount, sectorNmbr, /*sectorCount,*/ currentSector;
524   int i, buffer, /*byteCount,*/ sectorNmbr, /*sectorCount,*/ currentSector;
525525   UINT8 kbcode;
526526   static const UINT8 interleave[8] = {0,5,2,7,4,1,6,3};
527527   const device_config *image;
r4051r4052
556556         //logerror("Accesing DCB %02Xh\n", DCB_Num);
557557         deviceNum = (ram[statusDCB+0x10]&0x0F)+(ram[statusDCB+0x09]<<4);
558558         buffer=(ram[statusDCB+0x01])+(ram[statusDCB+0x02]<<8);
559         byteCount=(ram[statusDCB+0x03])+(ram[statusDCB+0x04]<<8);
559         //byteCount=(ram[statusDCB+0x03])+(ram[statusDCB+0x04]<<8);
560560
561561         if (deviceNum>=4 && deviceNum<=7)
562562         {
src/mess/machine/x68k_hdc.c
r4051r4052
3030
3131unsigned char SASIReadByte(const device_config* device)
3232{
33   int ret;
33   //int ret;
3434   unsigned char val;
3535
36   ret = image_fread(device,&val,1);
36   /*ret = */image_fread(device,&val,1);
3737   
3838   return val;
3939}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team