Login
Back to forumSee the full topicGo to last reply

Posted By

Harry Potter
on 2022-12-09
10:31:48
 Re: cc65 users: printtok.c

I have plans to modify printtok: I want to compress string parts that contain only lower-case letters, spaces, periods and returns to five bits per character. An extended token (one that takes two characters--values 0x80-0x9F are quick tokens) only needs six bits to specify the token to use. When compressing multiple spaces using RLE, the size only needs four bits. When compressing string parts that contain only letters and certain punctuation, each literal only needs four bits. Until then, how else can I compress strings?



Back to top


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