Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

lDebug release 9 - Heatshrink compressed drives? (Announce)

posted by mceric, Germany, 21.12.2024, 16:00

Hello :-)

Thanks for all those updates!

> Heatshrink compression of the online help pages is now enabled, shrinking
> the total resident size of the debugger as compared to using the
> uncompressed online help.

I had not known about that before, seems to be a variant of LZSS or LZ4:

https://github.com/atomicobject/heatshrink

https://www.cnx-software.com/2021/09/29/heatshrink...eight-compression-library-for-embedded-systems/

And for ESP32, there already is another, smaller variant, ESP32-Tamp:

https://esp32.com/viewtopic.php?t=39798

If you ever feel bored, maybe you could consider building a heatshrinked version of SHSUCDHD? A possible implementation could be to keep a table of where compressed sectors start.

This could even evolve to compressed RAMDISKs, partitions and maybe also EMS or XMS memory: In those cases, the drivers could claim that you have N times more space than you actually have, dynamically moving compressed sectors/blocks/clusters to 1:1, 1:2 or 1:4 compressed areas. In case N was too optimistic because entropy went up, they can just claim remaining clusters (or memory) are used now. With too little safety margin, it could even happen that they have to report write errors, but that case should be avoided.

Just dreaming of a free DOUBLESPACE, DRIVESPACE or STACKER here :-) Those used rather large compression blocks internally, which meant that they used a lot of RAM.

---
FreeDOS / DOSEMU2 / ...

 

Complete thread:

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