Previous 15994 Revisions Next

r6449 Monday 23rd November, 2009 at 23:30:23 UTC by Harmony
Made my last SVN checkin less chatty
[src/emu/machine]scsihd.c

src/emu/machine/scsihd.c
r6448r6449
225225      case 0x2a: // WRITE(10)
226226         if ((our_this->disk) && (our_this->blocks))
227227         {
228            printf("We have a disc and we have %d blocks, with a data length of %d, time to write\n", our_this->blocks, dataLength);
229228            while (dataLength > 0)
230229            {
231               printf("Attempting to write some data at LBA %08x\n", our_this->lba);
232230               if (!hard_disk_write(our_this->disk, our_this->lba, data))
233231               {
234232                  logerror("SCSIHD: HD write error!\n");
r6448r6449
309307         return 0;
310308
311309      case SCSIOP_WRITE_DATA:
312         printf("intparm = %08x%08x\n", (UINT32)(intparm >> 32), (UINT32)(intparm & 0x00000000ffffffff));
313310         scsihd_write_data( (SCSIInstance *)file, (UINT8 *)ptrparm, intparm );
314311         return 0;
315312

Previous 15994 Revisions Next


© 1998-2018 The MESS Team