Author Topic: [Axiom] Pucrunch Decompression and tools  (Read 8523 times)

0 Members and 1 Guest are viewing this topic.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: [Axiom] Pucrunch Decompression and tools
« Reply #15 on: March 29, 2011, 12:31:38 pm »
On the TI-68k platform, Pucrunch has been used for many years in TIGCC and GCC4TI for compressed programs. The compression ratio is OK, and we have well-optimized decompressors made over the years by Greg Dietsche, myself, and later Samuel Stearley (who created the small/slow version and the fast/larger version).
Pucrunch has proven itself to be an excellent tradeoff between compression ratio and decompression speed. LZMA / XZ yields a better compression rate, but the C decompressor is huge and extremely slow (read: ~1 KB/s).

As FloppusMaximus wrote, it's an asymmetrical compression scheme, which won't work for on-calc compression on a TI-Z80 or a TI-68k, because compression requires way too much memory for those platforms. It could work on the Nspire, though.
« Last Edit: March 29, 2011, 12:36:41 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: [Axiom] Pucrunch Decompression and tools
« Reply #16 on: March 29, 2011, 09:59:53 pm »
The Nspire OS must include the zlib decompression routines; does it include compression routines as well?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: [Axiom] Pucrunch Decompression and tools
« Reply #17 on: March 29, 2011, 10:38:12 pm »
ooh, wonderful!
thanks for your work. this shall definitely be put to use.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: [Axiom] Pucrunch Decompression and tools
« Reply #18 on: March 30, 2011, 04:34:44 am »
FloppusMaximus: in the lists of symbols for IDA, I see inflate*, deflate* and compress* functions.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.