[PR #82] Add support for HD-Copy disk image format #1043

Closed
opened 2026-01-29 15:39:50 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/aaru-dps/Aaru/pull/82

State: closed
Merged: Yes


This PR adds a new floppy image format for HD-Copy. The scaffolding was shamelessly copied from an existing image plugin.

The HD-Copy format (or "HDCopy") was used by the DOS program of the same name, written by Oliver Fromme in or around 1995. It uses a simple RLE format to compress the tracks and only stores tracks that contain actual data.

Three sample files are available here, I can provide more if desired.

Proof of concept output of DiscImageChef:

d:\Devel\git\DiscImageChef\DiscImageChef\bin\Debug>dir j:\temp\hdcopy_sample*.img
 Volume in drive J is Stuff
 Volume Serial Number is 8C4E-1234

 Directory of j:\temp

13.01.1995  00:13           319.528 hdcopy_sample_1.img
13.01.1995  00:13             2.666 hdcopy_sample_2.img
13.01.1995  00:13           548.173 hdcopy_sample_3.img
               1 File(s)        548.173 bytes
               0 Dir(s)  609.437.351.936 bytes free

d:\Devel\git\DiscImageChef\DiscImageChef\bin\Debug>DiscImageChef analyze -v true -i j:\temp\hdcopy_sample_3.img
The Disc Image Chef 3.99.6.0
Copyright © 2011-2017 Natalia Portillo

Image format identified by HD-Copy disk image (8d57483f-71a5-42ec-9b87-66aec439c792).
Identified by Microsoft File Allocation Table.
Microsoft FAT12
OEM Name: HDCPY17A
512 bytes per sector.
2880 sectors on volume (1474560 bytes).
1 sectors per cluster.
2880 clusters on volume.
1 sectors reserved between BPB and FAT.
2 FATs.
224 entries on root directory.
Media descriptor: 0xF0
9 sectors per FAT.
18 sectors per track.
2 heads.
0 hidden sectors before BPB.
Drive number: 0x00
Volume Serial Number: 126DCABB
Filesystem type: FAT12
Volume last modified on 21.03.1994 09:47:26
Volume label: 5E0315092F1
Uploading partial statistics file C:\Users\Darkstar\AppData\Roaming\Claunia.com\DiscImageChef\Statistics\PartialStats_20171218215846034.xml
**Original Pull Request:** https://github.com/aaru-dps/Aaru/pull/82 **State:** closed **Merged:** Yes --- This PR adds a new floppy image format for HD-Copy. The scaffolding was shamelessly copied from an existing image plugin. The HD-Copy format (or "HDCopy") was used by the DOS program of the same name, written by Oliver Fromme in or around 1995. It uses a simple RLE format to compress the tracks and only stores tracks that contain actual data. Three sample files are available [here](https://filebin.net/0memuyebnoak6a98), I can provide more if desired. Proof of concept output of DiscImageChef: ``` d:\Devel\git\DiscImageChef\DiscImageChef\bin\Debug>dir j:\temp\hdcopy_sample*.img Volume in drive J is Stuff Volume Serial Number is 8C4E-1234 Directory of j:\temp 13.01.1995 00:13 319.528 hdcopy_sample_1.img 13.01.1995 00:13 2.666 hdcopy_sample_2.img 13.01.1995 00:13 548.173 hdcopy_sample_3.img 1 File(s) 548.173 bytes 0 Dir(s) 609.437.351.936 bytes free d:\Devel\git\DiscImageChef\DiscImageChef\bin\Debug>DiscImageChef analyze -v true -i j:\temp\hdcopy_sample_3.img The Disc Image Chef 3.99.6.0 Copyright © 2011-2017 Natalia Portillo Image format identified by HD-Copy disk image (8d57483f-71a5-42ec-9b87-66aec439c792). Identified by Microsoft File Allocation Table. Microsoft FAT12 OEM Name: HDCPY17A 512 bytes per sector. 2880 sectors on volume (1474560 bytes). 1 sectors per cluster. 2880 clusters on volume. 1 sectors reserved between BPB and FAT. 2 FATs. 224 entries on root directory. Media descriptor: 0xF0 9 sectors per FAT. 18 sectors per track. 2 heads. 0 hidden sectors before BPB. Drive number: 0x00 Volume Serial Number: 126DCABB Filesystem type: FAT12 Volume last modified on 21.03.1994 09:47:26 Volume label: 5E0315092F1 Uploading partial statistics file C:\Users\Darkstar\AppData\Roaming\Claunia.com\DiscImageChef\Statistics\PartialStats_20171218215846034.xml ```
claunia added the pull-request label 2026-01-29 15:39:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#1043