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

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

📋 Pull Request Information

Original PR: https://github.com/aaru-dps/Aaru/pull/82
Author: @darkstar
Created: 12/18/2017
Status: Merged
Merged: 12/18/2017
Merged by: @claunia

Base: masterHead: hdcopy


📝 Commits (2)

  • 1b2366e Add support for HD-Copy disk image format
  • 6068e5e Remove unused imports

📊 Changes

2 files changed (+658 additions, -0 deletions)

View changed files

📝 DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj (+1 -0)
DiscImageChef.DiscImages/HDCopy.cs (+657 -0)

📄 Description

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aaru-dps/Aaru/pull/82 **Author:** [@darkstar](https://github.com/darkstar) **Created:** 12/18/2017 **Status:** ✅ Merged **Merged:** 12/18/2017 **Merged by:** [@claunia](https://github.com/claunia) **Base:** `master` ← **Head:** `hdcopy` --- ### 📝 Commits (2) - [`1b2366e`](https://github.com/aaru-dps/Aaru/commit/1b2366e5ce4e214b842832e4a3ddb9ab3aa76bf8) Add support for HD-Copy disk image format - [`6068e5e`](https://github.com/aaru-dps/Aaru/commit/6068e5ee55d9f3d981dcdd0926941671755c37a0) Remove unused imports ### 📊 Changes **2 files changed** (+658 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj` (+1 -0) ➕ `DiscImageChef.DiscImages/HDCopy.cs` (+657 -0) </details> ### 📄 Description 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 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:39:45 +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#1038