Heatshrink compressed drives? - Tamp ISO compression test (Announce)
> > If you ever feel bored, maybe you could consider building a heatshrinked
> > version of SHSUCDHD?
>
> If you've got the RAM I think you'd be better off just using gzip and
> SHSUCDRD. But anyway, here's a
> demonstration
> compressor (Windows binary), using Tamp...
Interestingly short
So your image file format consists of a 4 byte header and an array of 32-bit compressed sector offsets? I fail to see where the total number of sectors in the image is stored, though?
If you already have test-compressed a few CD images you had around, could you share only the resulting compressed-image headers WITHOUT the compressed sector contents themselves, as a small file on your page? I am curious about the distribution of compressed sector sizes for typical ISOs
Of course it would be possible to "compress" the table of file offsets of compressed sectors, but that would complicate access later and it is not necessary for the evaluation of compressors like TAMP.
A simple scheme would be to only store the absolute offset of every 16th compressed sector, followed by only the 16 lower bits for the next 15 offsets. Saves roughly half of the header size. To "decompress" the offset of sector x, one has to read the full offset F of sector (x and not 15), then, if (x and 15) is non-zero, read the low bits L for sector (x and 15) and compute F + (L if L was read) + (65536 if L was read and L < low bits of F). This should work for sector sizes of up to 4096 bytes, such as ISO sectors of 2048 bytes.
But I am getting distracted
I am quite curious what the compressed sector size distributions are in your experience, also in relation to overall compression factors for the images as a whole.
Thank you!
---
FreeDOS / DOSEMU2 / ...
Complete thread:
- lDebug release 9 - ecm, 21.12.2024, 13:49 (Announce)
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 16:00
- lDebug release 9 - Heatshrink compressed drives? - ecm, 21.12.2024, 18:41
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 22:55
- lDebug release 9 - Heatshrink compressed drives? - DosWorld, 02.01.2025, 18:24
- lDebug release 9 - Heatshrink compressed drives? - jadoxa, 29.01.2025, 08:46
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 30.01.2025, 02:21
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 30.01.2025, 17:36
- Heatshrink compressed drives? - Tamp ISO compression test - jadoxa, 31.01.2025, 09:24
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 15:15
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 23:33
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 01.02.2025, 11:19
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 01.02.2025, 13:54
- Heatshrink compressed drives? - Tamp ISO compression test - jadoxa, 01.02.2025, 15:33
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 01.02.2025, 13:54
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 06.02.2025, 02:42
- Snappy compression - ecm, 06.02.2025, 04:26
- Snappy compression - mceric, 08.02.2025, 01:04
- Snappy compression - script to build a compressed executable - ecm, 08.02.2025, 18:02
- Snappy compression - script to build a compressed executable - ecm, 09.02.2025, 21:38
- Snappy compression - script to build a compressed executable - ecm, 08.02.2025, 18:02
- Snappy compression - mceric, 08.02.2025, 01:04
- Snappy compression - ecm, 06.02.2025, 04:26
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 01.02.2025, 11:19
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 23:33
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 31.01.2025, 17:42
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 15:15
- lDebug release 9 - Heatshrink compressed drives? - Oso2k, 30.01.2025, 05:12
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 30.01.2025, 02:21
- lDebug release 9 - Heatshrink compressed drives? - ecm, 21.12.2024, 18:41
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 16:00