/[gxemul]/trunk/src/diskimage.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/diskimage.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by dpavlin, Mon Oct 8 16:20:40 2007 UTC revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: diskimage.c,v 1.111 2006/08/14 17:27:45 debug Exp $   *  $Id: diskimage.c,v 1.114 2006/09/07 11:44:01 debug Exp $
29   *   *
30   *  Disk image support.   *  Disk image support.
31   *   *
# Line 1143  xferp->data_in[4] = 0x2c - 4;  /*  Additi Line 1143  xferp->data_in[4] = 0x2c - 4;  /*  Additi
1143    
1144                  /*                  /*
1145                   *  Bits 2..0 of buf[1] contain the 'code' which describes how                   *  Bits 2..0 of buf[1] contain the 'code' which describes how
1146                   *  we should space, and buf[2..4] contain the number of                   *  spacing should be done, and buf[2..4] contain the number of
1147                   *  operations.                   *  operations.
1148                   */                   */
1149                  debug("[ SPACE: buf[] = %02x %02x %02x %02x %02x %02x ]\n",                  debug("[ SPACE: buf[] = %02x %02x %02x %02x %02x %02x ]\n",
# Line 1251  xferp->data_in[4] = 0x2c - 4;  /*  Additi Line 1251  xferp->data_in[4] = 0x2c - 4;  /*  Additi
1251    
1252                  diskimage__return_default_status_and_message(xferp);                  diskimage__return_default_status_and_message(xferp);
1253                  break;                  break;
1254    
1255            case SCSICDROM_READ_DISCINFO:
1256                    debug("(SCSICDROM_READ_DISCINFO: ");
1257                    debug("TODO");
1258                    retlen = 0;
1259    
1260                    /*  Return data:  */
1261                    scsi_transfer_allocbuf(&xferp->data_in_len,
1262                        &xferp->data_in, retlen, 1);
1263    
1264                    /*  TODO  */
1265    
1266                    diskimage__return_default_status_and_message(xferp);
1267                    break;
1268    
1269            case SCSICDROM_READ_TRACKINFO:
1270                    debug("(SCSICDROM_READ_TRACKINFO: ");
1271                    debug("TODO");
1272                    retlen = 0;
1273    
1274                    /*  Return data:  */
1275                    scsi_transfer_allocbuf(&xferp->data_in_len,
1276                        &xferp->data_in, retlen, 1);
1277    
1278                    /*  TODO  */
1279    
1280                    diskimage__return_default_status_and_message(xferp);
1281                    break;
1282    
1283          case SCSICMD_MODE_SELECT:          case SCSICMD_MODE_SELECT:
1284                  debug("[ SCSI MODE_SELECT: ");                  debug("[ SCSI MODE_SELECT: ");

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26