On Sat, Mar 7, 2026 at 1:41 AM Brian K. White <[email protected]> wrote:
> Adopted your idea to just flip the high bit instead of > adding/subtracting. I still don't encode 255 by default because it makes > the file larger, but added an option that adds 255 to the unsafe list. > It's 127 (DEL) that gets dropped by EDIT. I use !255 to encode delete just to be safe, even though the BASIC tokenizer handles it okay. This is just in case someone wants to EDIT the file loader before running it. That's more likely for my co2do program since it currently doesn't have a SAVEM option; it always runs CALL/EXEC. > Added an option to generate a "poor man's trigger file" instead of either > call or savem. > A "trigger file" sounds like a good idea, if it means what I think it means. It's just a little BASIC program that uses CALL to a machine language routine, right? What is a "poor man's" version? I haven't implemented SAVEM in my co2do as the .CO file would have to be in memory three times — in the BASIC loader, in high memory, and in the filesystem — which sometimes simply will not fit. I can have the BASIC loader poke into the keyboard buffer and save memory [by running NEW]( https://github.com/hackerb9/Living_M100SIG/raw/refs/heads/main/M100SIG/Lib-10-TANDY200/ADSMLO.DO) to erase itself, but I don't know how to do that in a way that will work on any of the Kyotronic sisters. A trigger file may be the solution I'm looking for. But, how do you make sure the .CO file it is calling is still there? A checksum? On Sat, Mar 7, 2026 at 6:38 PM Brian K. White <[email protected]> wrote: > Spent all day figuring out a way to do the inner loop without IF. > Woohoo! > And it's slower. OH WELL! > Well, I'm still impressed! I wonder if maybe now that you know the mathematical equation, you can find a way to express it that will save some bytes. —b9
