Login
Back to forumSee the full topicGo to last reply

Posted By

Harry Potter
on 2024-09-18
07:54:52
 Re: printtok being updated: ideas?

As of now, my experiments with PrintTok1 decreased the size of the database file of the C64 version of my Smir 3, 1 text adventure by 35.5%. That's not much but is something. happy I'm after 40% before updating to PrintTok2. It currently compresses using tokenization and RLE of spaces. I am working on PrintTok2, which is to provide several ways to compress literals, a version of BPE where a previously-repeated two-char block is to be shortened to a byte that indicates how many bytes ago the repeat occurred and automatic compression. I am asking if anybody here has any ideas on how to improve PrintTok, both as it is now and for a future update. BTW, the latest cc65 versions are at https://sourceforge.net/projects/cc65extra/files/ui/. Version 006 provides up to 64 one-byte tokens and 128 two-byte tokens, and 007 128 one-byte tokens and 128 two-byte tokens. A version for Super C 64 and 128 with up to 90 one-byte and 128 two-byte tokens is at https://sourceforge.net/projects/cc65extra/files/supercstuff/.



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon