New kernel compression methods (Announce)
Hello ecm,
> By the way, as yet I always ignore the checksums, if present in the format.
> I preferred the best compression settings. Because the depacker reads and
> writes from memory, the dictionary size doesn't matter to us; if there is
> enough memory to hold the (possibly overlapping) buffers while
> decompressing then the entire history of the decompression output is
> available to the decompressor. With enough contiguous low memory area space
> permitting, my decompressors all handle compressed and uncompressed file
> lengths exceeding 64 KiB well. (I think the FreeDOS kernel compression
> doesn't properly allow that.)
Thanks for your work. From what I see, the FreeDOS kernel uses UPX, which has no problems with uncompressed kernels larger than 64 KiB. However, the stub that is added after UPX-ing assumes that the compressed kernel is smaller than 64 KiB.
(The sizes for my kernel build: 77,180 bytes when uncompressed (.exe), 52,043 when compressed (as .sys).)
So I would guess that any compression method that compresses even better than UPX should not have much of a problem with the FreeDOS kernel.
Thank you!
---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"
Complete thread:
- New kernel compression methods - ecm, 13.04.2020, 00:05 (Announce)
- New kernel compression methods - ecm, 13.04.2020, 00:17
- New kernel compression methods - tkchia, 13.04.2020, 14:23
- New kernel compression methods - ecm, 13.04.2020, 18:31
- New kernel compression methods - ecm, 13.04.2020, 18:35
- New kernel compression methods - tkchia, 14.04.2020, 14:46
- New kernel compression methods - fdkernpl - ecm, 14.04.2020, 17:05
- New kernel compression methods - exeExtraBytes jump - ecm, 14.04.2020, 17:06
- New kernel compression methods - tom, 14.04.2020, 20:06
- New kernel compression methods - ecm, 13.04.2020, 18:31
- New kernel compression methods - Updated lDebug lzd results - ecm, 16.04.2020, 17:29
- New kernel compression methods - Corrections - ecm, 16.04.2020, 22:06
- New kernel compression methods - X compressor layers - ecm, 16.04.2020, 22:22
- New kernel compression methods - Updated lzd, new lzo - ecm, 25.04.2020, 22:23
- New kernel compression methods - Updated lzd, new lzo - tom, 26.04.2020, 13:46
- New kernel compression methods - UPX, 512 runs clarification - ecm, 26.04.2020, 20:17
- New kernel compression methods - Updated lzd, new lzo - tom, 26.04.2020, 13:46