/[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 9 by dpavlin, Mon Oct 8 16:18:11 2007 UTC revision 10 by dpavlin, Mon Oct 8 16:18:27 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: diskimage.c,v 1.91 2005/05/27 07:29:24 debug Exp $   *  $Id: diskimage.c,v 1.94 2005/06/26 09:21:27 debug Exp $
29   *   *
30   *  Disk image support.   *  Disk image support.
31   *   *
# Line 919  xferp->data_in[4] = 0x2c - 4;  /*  Additi Line 919  xferp->data_in[4] = 0x2c - 4;  /*  Additi
919                              xferp->data_in, size);                              xferp->data_in, size);
920    
921                  if (d->is_a_tape && d->f != NULL)                  if (d->is_a_tape && d->f != NULL)
922                          d->tape_offset = ftell(d->f);                          d->tape_offset = ftello(d->f);
923    
924                  /*  TODO: other errors?  */                  /*  TODO: other errors?  */
925                  break;                  break;
# Line 1303  xferp->data_in[4] = 0x2c - 4;  /*  Additi Line 1303  xferp->data_in[4] = 0x2c - 4;  /*  Additi
1303                      &xferp->data_in, retlen, 1);                      &xferp->data_in, retlen, 1);
1304    
1305                  diskimage__return_default_status_and_message(xferp);                  diskimage__return_default_status_and_message(xferp);
1306    
1307                  break;                  break;
1308    
1309          default:          default:
# Line 1474  int diskimage_add(struct machine *machin Line 1475  int diskimage_add(struct machine *machin
1475          /*  Special cases: some machines usually have FLOPPY/IDE, not SCSI:  */          /*  Special cases: some machines usually have FLOPPY/IDE, not SCSI:  */
1476          if (machine->arch == ARCH_X86 ||          if (machine->arch == ARCH_X86 ||
1477              machine->machine_type == MACHINE_COBALT ||              machine->machine_type == MACHINE_COBALT ||
1478                machine->machine_type == MACHINE_EVBMIPS ||
1479              machine->machine_type == MACHINE_HPCMIPS ||              machine->machine_type == MACHINE_HPCMIPS ||
1480              machine->machine_type == MACHINE_PS2)              machine->machine_type == MACHINE_PS2)
1481                  d->type = DISKIMAGE_IDE;                  d->type = DISKIMAGE_IDE;

Legend:
Removed from v.9  
changed lines
  Added in v.10

  ViewVC Help
Powered by ViewVC 1.1.26