Posted By
Harry Potter on 2024-08-31 14:24:53
| SPAM: PrintTok1 for cc65
Hi! I know I'm SPAMming, and I'm sorry! I know of no other way to let people know my projects are out there. I have some modules for cc65 collectively called PrintTok1. PrintTok1 is a way to print out strings compressed using tokenization and RLE of spaces. Depending on the version, it supports either 64 or 128 one-byte tokens and 128 two-byte tokens. Later versions also support special control characters such as clearing the screen, pausing and changing the color. Version 006 supports 64 one-byte tokens, and 007 128 one-byte tokens at the cost of having to redefine capital letters. Supported targets are the major CBM, Apple2 and Atari 8-bit systems. Its current limits are no compression of literals and no automatic compression. I'm working on PrintTok2 which should solve these flaws. You can find it at https://sourceforge.net/projects/cc65extra/files/ui/. I am also asking if there are any ways to improve PrintTok1/2 that I haven't mentioned here. I'm thinking about compressing literals to 5-, 6- or 7-bit figures, and the 5-bit versions are based on Z-Machine's method, and 6-bit methods will exclude lower-case to fit the characters.
|