Commit Graph

4061 Commits

Author SHA1 Message Date
22b0f80d6e Refactor most disk references to media. 2016-01-16 03:54:55 +00:00
e1243a1ea3 Added static method to get standard dimensions from disk
types.
2016-01-16 03:03:29 +00:00
8088f6f249 Implement decoding Fujitsu Verify Control Page. 2016-01-15 22:42:33 +00:00
57c885201e Added all known vendor density and medium type codes. 2016-01-15 21:14:36 +00:00
5f5a9d30da Moved density and medium type codes to a separate file. 2016-01-15 07:13:11 +00:00
2a8b5d3cc5 * DiscImageChef/Commands/MediaInfo.cs:
* DiscImageChef/Commands/DeviceInfo.cs:
	  Added support for SCSI sequential devices.

	* DiscImageChef.Decoders/SCSI/SSC/BlockLimits.cs:
	* DiscImageChef.Decoders/SCSI/SSC/DensitySupport.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Added decoders for SCSI SSC READ BLOCK LIMITS and REPORT
	  DENSITY SUPPORT.

	* DiscImageChef.Devices/Device/ScsiCommands/SSC.cs:
	  Corrected ReportDensitySupport.

	* DiscImageChef.Decoders/SCSI/Modes.cs:
	  Corrected mode size.
2016-01-15 07:00:43 +00:00
14b7be1172 * DiscImageChef.Devices/Device/ScsiCommands/SyQuest.cs:
Corrected typo

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Moved common code to a static method.
2016-01-14 21:10:39 +00:00
afdcc5b729 Added SyQuest vendor commands. 2016-01-14 20:40:45 +00:00
5828d60f15 * DiscImageChef.Devices/Enums.cs:
* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Devices/Device/ScsiCommands/Plasmon.cs:
	  Added Plasmon vendor commands.

	* DiscImageChef.Devices/Device/ScsiCommands/Pioneer.cs:
	  Added Pioner READ CD-XA vendor command.
2016-01-14 02:46:36 +00:00
e45a783fa4 Added M-Systems vendor commands. 2016-01-13 21:14:23 +00:00
fcf4c56f0e * DiscImageChef.Devices/Enums.cs:
* DiscImageChef.Helpers/ArrayFill.cs:
	* DiscImageChef.Helpers/ArrayIsEmpty.cs:
	* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Helpers/DiscImageChef.Helpers.csproj:
	  Implemented Certance, Fujitsu and Hewlett-Packard vendor
	  commands.

	* DiscImageChef.Devices/Device/ScsiCommands/Certance.cs:
	  Implemented Certance vendor commands.

	* DiscImageChef.Devices/Device/ScsiCommands/Fujitsu.cs:
	  Implemented Fujitsu vendor commands.

	* DiscImageChef.Devices/Device/ScsiCommands/HP.cs:
	  Implemented Hewlett-Packard vendor commands.
2016-01-13 19:59:44 +00:00
6d2b9089eb * DiscImageChef.Devices/Enums.cs:
* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Devices/Device/ScsiCommands/ArchiveCorp.cs:
	  Added vendor commands for Archive Corporation Viper 2060S,
	  2125S and 2150S.

	* DiscImageChef.Devices/Device/ScsiCommands/Adaptec.cs:
	  Corrected documentation typo.
2016-01-13 05:57:35 +00:00
9389d4bb3e Added Adaptec ACB-4000A and ACB-4070 vendor commands. 2016-01-13 05:04:45 +00:00
3b318a56e3 * DiscImageChef.Devices/Device/ScsiCommands/SMC.cs:
* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	  Added read-only Streaming Commands.

	* DiscImageChef.Devices/Device/ScsiCommands/SSC.cs:
	  Added READ ATTRIBUTE.

	* DiscImageChef.Devices/Device/ScsiCommands/MMC.cs:
	  Corrected typo on header

	* DiscImageChef.Devices/Device/ScsiCommands/SPC.cs:
	  Corrected buffer mislength.
	Added support for READ ATTRIBUTE.

	* DiscImageChef.Devices/Enums.cs:
	  Corrected opcode for SCSI WRITE ATTRIBUTE.
	Added SCSI Streaming and Attribute enumerations.
2016-01-13 03:47:25 +00:00
8c24edf3dd Separated SCSI commands by category/vendor. 2016-01-11 19:40:58 +00:00
c98d64e544 * DiscImageChef.Devices/Enums.cs:
* DiscImageChef/Commands/DeviceInfo.cs:
	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Added Plextor vendor commands.

	* DiscImageChef/Plugins.cs:
	* DiscImageChef/Commands/Analyze.cs:
	* DiscImageChef/Commands/Compare.cs:
	* DiscImageChef/Commands/CreateSidecar.cs:
	  Do not call system console directly.
2016-01-11 19:24:17 +00:00
62768b3e6b * DiscImageChef.CommonTypes/DiskType.cs:
Added Acorn Archimedes and Commodore 15xx floppies.

	* DiscImageChef.DiscImages/ImagePlugin.cs:
	  Added DiskTag for PCMCIA CIS and SecureDigital/MMC CID, CSD
	  and extended CSD.

	* DiscImageChef.Metadata/DiskType.cs:
	  Added known floppies and magneto-opticals.

	* DiscImageChef/Commands/CreateSidecar.cs:
	  Implemented most support for block media sidecars.
2016-01-01 00:01:42 +00:00
cdcbb1e21a * CICMMetadata:
Updated to last branch.

	* DiscImageChef.Filesystems/ISO9660.cs:
	  Comment unused variable.
2015-12-31 17:35:56 +00:00
f9dc4f31a1 Added support for FireWire devices. 2015-12-31 16:33:20 +00:00
eac5aae66c * DiscImageChef.Devices/Device/Constructor.cs:
Added support for USB on Linux.

	* DiscImageChef/Commands/DeviceInfo.cs:
	* DiscImageChef.Devices/Device/Variables.cs:
	  Added support for USB detection and metadata.

	* DiscImageChef.Devices/Linux/Extern.cs:
	* DiscImageChef.Devices/Linux/Command.cs:
	  Added readlink(3) support, for getting symlink destinations.
2015-12-31 16:12:22 +00:00
da29ec63eb * DiscImageChef/Main.cs:
* DiscImageChef/Options.cs:
	* DiscImageChef/DiscImageChef.csproj:
	* DiscImageChef/Commands/MediaScan.cs:
	  Added media-scan command.

	* DiscImageChef.Decoders/SCSI/Inquiry.cs:
	  Fixes decoding for devices that follow old 5-byte SCSI
	  INQUIRY format.

	* DiscImageChef.Decoders/SCSI/Sense.cs:
	  Fixes printing of sense block missing a newline.

	* DiscImageChef.Devices/Device/Variables.cs:
	* DiscImageChef.Devices/Device/Constructor.cs:
	  Added an IsRemovable field.

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Fixed SCSI READ CAPACITY CDB size.
	Fixed READ CD-DA MSF method name.
	Implemented SCSI SEEK (6) and SEEK (10) commands.

	* DiscImageChef.Devices/Linux/Command.cs:
	* DiscImageChef.Devices/Windows/Command.cs:
	  Fixed memory leaking on unmanaged heap.

	* DiscImageChef.Helpers/StringHandlers.cs:
	  Fixed string conversion when input byte array is null.

	* DiscImageChef/Commands/MediaInfo.cs:
	  Check for inserted medium only on removable media devices.
2015-12-30 11:45:27 +00:00
6928fc1363 Added all known READ, READ LONG, READ CD and READ CD-DA
commands.
2015-12-26 19:02:31 +00:00
8ed384f47f * README.md:
* DiscImageChef.DiscImages/GDI.cs:
	* DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj:
	  Added support for Dreamcast GDI images.

	* DiscImageChef.DiscImages/ImagePlugin.cs:
	  Add XML documentation to exceptions.

	* DiscImageChef.Filesystems/ISO9660.cs:
	  Corrected Dreamcast IP.BIN interpretation.

	* DiscImageChef/Commands/CreateSidecar.cs:
	  Formatting.
2015-12-25 20:47:40 +00:00
3b368e0bd4 * TODO:
* README.md:
	* DiscImageChef.DiscImages/CDRDAO.cs:
	* DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj:
	  Added support for cdrdao images. Solves #53

	* DiscImageChef.DiscImages/CDRWin.cs:
	  Implemented FLAGS field support and
	  quadraphonic/broadcasting flag.
	Return CD track flags for any track type.

	* DiscImageChef.Filesystems/ISO9660.cs:
	  Filter null characters from Volume Descriptors.
	If Joliet descriptor is null, or ISO descriptor is longer, use
	  ISO descriptor for XML metadata.

	* DiscImageChef/Commands/CreateSidecar.cs:
	  If a filesystem plugin crashes, do not abort.

	* DiscImageChef/DetectImageFormat.cs:
	  If an image plugin crashes, keep trying the others.
2015-12-23 23:46:31 +00:00
eef78b50f2 Checked more information, GCK is Grupo Condor S.L. from Spain. 2015-12-14 09:25:52 +00:00
3ee16d149d * DiscImageChef.Decoders/CD/ATIP.cs:
Added manufacturer code for a GCK disc I just came upon.

	* DiscImageChef.Metadata/DiskType.cs:
	  Corrected miswriting of CDXA, CDRW and CDROM.

	* DiscImageChef/Commands/MediaInfo.cs:
	  Check ATIP even if no TOC, as blank discs do always have
	  ATIP (but no TOC or PMA).
2015-12-13 07:43:14 +00:00
ec5ba8481a Added support for CD-ROM XA sectors. 2015-12-06 07:51:46 +00:00
01c0b9de9a Move comments to XML documentation. 2015-12-06 07:37:20 +00:00
14da0c7c6e Solved false positives of UNIX 7th Edition filesystem. 2015-12-06 07:25:53 +00:00
20494c9485 Moved comments to XML documentation. 2015-12-06 07:18:36 +00:00
40951dd44e Added documentation. 2015-12-06 05:18:30 +00:00
36e12eb1a7 * DiscImageChef.Metadata/DiskType.cs:
* DiscImageChef.Metadata/DiscImageChef.Metadata.csproj:
	  Added method to convert DiskType to disk type and subtype
	  strings.

	* DiscImageChef.DiscImages/CDRWin.cs:
	  Added extra track information.
	Corrected ReadLong for CD+G, subchannel should never come
	  along main channel on reading.

	* DiscImageChef.DiscImages/ImagePlugin.cs:
	  Added extra track information.
	Added audio media type.

	* DiscImageChef.DiscImages/Nero.cs:
	  Added extra track information.

	* DiscImageChef.DiscImages/ZZZRawImage.cs:
	  Added support for ReadLong and a single track and session
	  for optical discs.

	* DiscImageChef.Filesystems/FFS.cs:
	* DiscImageChef.Filesystems/BFS.cs:
	* DiscImageChef.Filesystems/ODS.cs:
	* DiscImageChef.Filesystems/SysV.cs:
	* DiscImageChef.Filesystems/extFS.cs:
	* DiscImageChef.Filesystems/ProDOS.cs:
	* DiscImageChef.Filesystems/ext2FS.cs:
	* DiscImageChef.Filesystems/LisaFS.cs:
	* DiscImageChef.Filesystems/MinixFS.cs:
	* DiscImageChef.Filesystems/UNIXBFS.cs:
	* DiscImageChef.Filesystems/AppleMFS.cs:
	* DiscImageChef.Filesystems/PCEngine.cs:
	* DiscImageChef.Filesystems/AppleHFS.cs:
	* DiscImageChef.Filesystems/AmigaDOS.cs:
	* DiscImageChef.Filesystems/AppleHFSPlus.cs:
	  Completed XML information.

	* DiscImageChef.Filesystems/ISO9660.cs:
	  Corrected fail in Sega CD IP.BIN decoding.
	Corrected IP.BIN date decoding.
	Trim spaces at end of Volume Descriptor string fields.
	Completed XML information.

	* DiscImageChef/Commands/Checksum.cs:
	  Checking memory usage on each step makes checksum
	  calculation abismally slower. Removed.

	* DiscImageChef/Main.cs:
	* DiscImageChef/Options.cs:
	* DiscImageChef/DiscImageChef.csproj:
	* DiscImageChef/Commands/CreateSidecar.cs:
	  Added method for creating CICM Metadata XML sidecar.
2015-12-06 05:09:31 +00:00
564775d3f7 Added hint for XML metadata creator to know which kind of
media the image represents.
2015-12-05 17:21:47 +00:00
96048617e1 Added generating XML metadata for file systems. 2015-12-05 17:10:27 +00:00
c6cfcbcd15 Corrected root block search. 2015-12-04 18:52:23 +00:00
8e0d254ed2 * DiscImageChef.Decoders/SCSI/Sense.cs:
Additional length may be bigger than provided buffer.

	* DiscImageChef/Commands/MediaInfo.cs:
	  Implement detection of medium not present and waiting for
	  drive to become ready.
2015-12-04 08:12:20 +00:00
96d256c6e8 * DiscImageChef.Decoders/DVD/PFI.cs:
* DiscImageChef.Decoders/DVD/Enums.cs:
	  Added HD DVD types.

	* DiscImageChef.Decoders/SCSI/Sense.cs:
	  Solved SCSI sense decoding.
2015-12-04 07:52:06 +00:00
49bd03cecb * DiscImageChef.Decoders/CD/ATIP.cs:
Added disc type and manufacturer lookup from ATIP.

	* DiscImageChef.Decoders/CD/PMA.cs:
	  Implement full PMA decoding.

	* DiscImageChef.Decoders/CD/FullTOC.cs:
	  Implement decoding disc ID.

	* DiscImageChef.Decoders/SCSI/MMC/DiscInformation.cs:
	  Disc ID is 24-bit.

	* DiscImageChef.Decoders/CD/CDTextOnLeadIn.cs:
	  CD-TEXT can be empty without being null, do not decode an
	  empty one.
2015-12-04 07:26:03 +00:00
b21a807ae1 Finally CD-Text on lead-in is getting decoded correctly... 2015-12-04 03:34:44 +00:00
2a1f2a9738 Solved when CD-TEXT is bigger than 1KiB. 2015-12-04 02:14:28 +00:00
70d8743683 * DiscImageChef.Decoders/CD/FullTOC.cs:
Enhanced prettify to be more verbose.

	* DiscImageChef.Decoders/CD/TOC.cs:
	  Corrected typo.
2015-12-04 01:57:56 +00:00
b3ec79b7ae * DiscImageChef.Decoders/CD/Enums.cs:
* DiscImageChef/Commands/MediaInfo.cs:
	* DiscImageChef.CommonTypes/DiskType.cs:
	  Added support for CD-V.

	* DiscImageChef.Decoders/CD/TOC.cs:
	* DiscImageChef.Decoders/CD/FullTOC.cs:
	  Added support for CD-V.
	Added support for CD-DA.
2015-12-03 09:31:06 +00:00
3d337f03ae As of today none of my testing drives will read Nintendo's BCA
because the PFI says there is no BCA.
2015-12-03 08:13:40 +00:00
98e2d18347 Lead-In CMI is useless in Nintendo discs. 2015-12-03 08:12:40 +00:00
3c79845b90 Added support for Nintendo GOD and WOD. 2015-12-03 08:11:46 +00:00
565cc9c133 Added decoding of XGD2 and XGD3 DMI. 2015-12-03 08:02:12 +00:00
2b0eeb383c Use global enums for DVD structure decoding. 2015-12-02 07:10:52 +00:00
963109e31e DVD-RAM recording type depends on sector. Removed from
media-info command.
2015-12-02 06:50:37 +00:00
b6eb17c9f0 Implemented decoding DVD-RAM Spare Area Information. 2015-12-02 06:49:36 +00:00
ba50144dca Implemented decoding DVD-RAM medium status. 2015-12-02 06:34:12 +00:00