Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

New kernel compression methods (Announce)

posted by tkchia Homepage, 13.04.2020, 14:23

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:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 395 users online (0 registered, 395 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum