diskimage.c
/* return a pointer to the disk title */
return a pointer to the disk title
return a pointer to the disk title
unsigned char *di_title(DiskImage *di) {
  switch (di->type) {
  default:
  case D64:
  case D71:
    return(get_ts_addr(di, di->dir) + 144);
    break;
  case D81:
    return(get_ts_addr(di, di->dir) + 4);
    break;
  }
}
unsigned char * di_title ( DiskImage * di ) { switch ( di -> type ) { default : case D64 : case D71 : return ( get_ts_addr ( di , di -> dir ) + 144 ) ; break ; case D81 : return ( get_ts_addr ( di , di -> dir ) + 4 ) ; break ; } }
return a pointer to the disk title
return a pointer to the disk title