Snappy compression - script to build a compressed executable (Announce)
I added the few needed changes to allow using snappy.asm's depacker for the test file mode of the inicomp repo. This is a small application that loads a packed image from a file, depacks it entirely in memory, and writes the depacked image to another file. This is how to build it and the size of the executable:
$ nasm testfile.asm -o testfile.com -I ../lmacros/ -D_SNAPPY
$ ls -lgG testfile.com
-rw-r--r-- 1 2245 Feb 9 21:29 testfile.com
You use it like testfile input.sz output.dat
and it emits the message "Done." if it had enough memory and the depacking seems to have succeeded. Unlike the test program, it doesn't take the original uncompressed data as an input and therefore doesn't compare its output to check that it is exact. So you should compare the output to the original file yourself.
---
l
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