Commit Graph

4061 Commits

Author SHA1 Message Date
4b9d012346 Add field to propagate partition scheme on each partition. 2017-07-23 22:54:36 +01:00
332c2901fd Use marshalling. 2017-07-23 21:01:26 +01:00
dddf884c05 Don't try to read past partition end. 2017-07-23 19:58:11 +01:00
f3e33aa7aa Don't ignore Apple_Free partitions, just ignore partitions
that extend past the device size.
2017-07-23 19:57:10 +01:00
25de114914 On debug catch zlib exceptions and show where it happens. 2017-07-23 19:56:45 +01:00
9bf55609a2 Corrected setting media type. 2017-07-23 19:54:38 +01:00
28dbda757c Use DotNetZip for UDIF zlib (AKA UDZO), solves some
compatibility problems.
2017-07-22 04:49:53 +01:00
333cff1793 Corrected comment tag. 2017-07-22 04:34:14 +01:00
9df8dee93d Corrected detection and reading of misaligned partitions on
optical media (e.g. map says sector 17 on 512 byte units, that
	would fall on sector 4.25 on 2048 units).
2017-07-20 13:14:12 +01:00
290cb74540 Do not add drivers of size 0 neither Apple_Free partitions as
these can expand beyond the disc on optical media.
2017-07-20 13:12:36 +01:00
c41645b376 Adjusted to new API. 2017-07-20 13:11:59 +01:00
a24569f34f Corrected alignment parameters. 2017-07-20 13:11:41 +01:00
7a2b0d9d73 Added support for Apple DOS and Apple ProDOS interleaved disk
images. Detection is by extension ".do" or ".po".
2017-07-20 13:11:27 +01:00
924442f307 Do not hash image when it is raw and plugin is appledouble as
file hash is the same.
2017-07-20 13:10:48 +01:00
16434f2788 Refactor: Simplify field names. 2017-07-19 16:37:11 +01:00
711d19fd04 Refactor, pass whole partition structure to filesystems. 2017-07-19 16:31:08 +01:00
68537136d8 Corrected volume name. 2017-07-19 14:50:51 +01:00
1d3d696a08 AROS i386 boot floppies start with a PC boot sector before the
Amiga BootBlock (that is unused).
2017-07-19 06:02:15 +01:00
e3ce75b9a7 Use marshalling.
Corrected checksum calculation.
	Corrected root block location when boot block is not present
	or correct.
	Tested FFS2 values, no long show warning.
	Correct cluster size calculation.
2017-07-19 05:21:25 +01:00
34d5bb5bae On DOS date time if value is outside representation just
return DOS epoch.
2017-07-19 05:19:28 +01:00
86a5197c12 Adjusted test parameters. 2017-07-19 05:19:10 +01:00
292f8a287c Added support for ADFS-S, ADFS-M, ADFS-L, ADFS-D, their
variants on hard disks and ADFS-E, ADFS-E+, ADFS-F, ADFS-F+
	and ADFS-G boot blocks. Pending support for "big directory".
2017-07-18 06:38:05 +01:00
319ff02274 Acorn RISC iX and Linux/ARM partition schemes require an ADFS
to be present from sector 0, so just add it.
2017-07-18 06:36:11 +01:00
52140f45b7 Do not put serial number in XML. I have to check its validity. 2017-07-18 06:34:55 +01:00
a5dc95494b Corrected parameters of Acorn floppies. 2017-07-18 06:34:33 +01:00
5deaa07446 Added unit tests for partition schemes. 2017-07-18 06:34:06 +01:00
e5cc6ad5d6 Corrected parameters. 2017-07-18 06:33:47 +01:00
77742808b8 Corrected partition sequencing. 2017-07-16 22:55:06 +01:00
20a151ef60 Adjusted parameters. 2017-07-16 22:54:49 +01:00
5ab1896b32 Moved superblock to a sequential do-it-all structure, and use
marshalling with it.
2017-07-15 01:39:48 +01:00
c31f5e096c Optical disc images should have a partition for the first
track, like the other disc image formats do.
2017-07-15 01:38:00 +01:00
2eafa6a606 Some implementations consider the volume label to be in need
for "archival"...
	Volume label can reside far away the first root directory
	sector.
2017-07-15 01:37:28 +01:00
8b8ba56322 On optical disks consider each track a separate partition for
sidecar creation.
2017-07-15 01:36:40 +01:00
9f051e117c Unlike what Inside Macintosh says, some implementations create
a Partition Map without a Driver Descriptor Map preceding it.
2017-07-15 01:36:13 +01:00
bde737962f Corrected sector offset.
Changed structure packing.
2017-07-15 01:35:05 +01:00
1380e1c94f Added swappers for reference values. 2017-07-15 01:29:26 +01:00
43b05214d6 Moved NeXT floppies to a separate test. 2017-07-15 01:28:56 +01:00
a9fcbc9b72 Corrected parameters for UFS tests. 2017-07-15 01:28:43 +01:00
b7e9660055 Rewrite.
Added missing fields.
	Cut partitions that span outside the device (seems typical on
	CDs).
2017-07-13 01:55:48 +01:00
f232a15a01 Full rewrite, now works correctly with CDs that are accessed
using 2048 bytes/sector. There are some CDs where the drive is
	treated as 512 bytes/sector, those just require the underlying
	disk image reporting so (otherwise, there will be several
	misalignments in the contents, not only in the map).
2017-07-13 00:19:21 +01:00
4719c29c26 Added missing fields. 2017-07-13 00:17:39 +01:00
ed03a9dceb Added more tests. 2017-07-13 00:17:18 +01:00
14baa50ae1 Use marshalling.
Added new superblock fields.
2017-07-11 02:33:08 +01:00
f2f7bcc2e9 Corrected string conversion. 2017-07-11 02:32:51 +01:00
9f19747270 Added support for UTF-16 and other two-byte encodings. 2017-07-11 02:32:40 +01:00
aeb923b2a7 Corrected expected values. 2017-07-11 02:32:20 +01:00
a431e0582d Swapped GUID endianness. 2017-07-11 02:31:59 +01:00
0a6408b783 Corrected version formatting. 2017-07-11 01:40:56 +01:00
da67575389 Corrected expectations. 2017-07-11 01:39:29 +01:00
a5d470a541 Added support for LS-120 and iomega JAZ. 2017-07-11 01:39:18 +01:00