[Coco] Color BASIC and "CURLIN" (direct versus in a program)
Allen Huffman
alsplace at pobox.com
Fri Oct 24 15:01:43 EDT 2025
> On Oct 24, 2025, at 1:56 PM, William Astle via Coco <coco at maltedmedia.com> wrote:
>
> You can theoretically intercept PRINT but it's truly miserable to do if you need to do anything on actual character output. But you might be able to intercept PRINT, set a flag, and then intercept the command interpretation loop to reset the flag before command dispatch. That's a bit weird to accomplish, but it's doable.
>
> You can check how Extended Basic intercepts CLOADM or how Disk Basic intercepts PMODE to figure out how you might set a flag based on whether PRINT is running.
Thanks — I’ll look at those for examples.
I was trying to find out how it knows what token was just parsed, but the code is fancier than my brain can currently understand.
All of this is leading up to doing something with a virtual screen on PMODE 4, which will be another learning curve. I am going back to December 1984-February 1985 Rainbows for a 51 column article that was in there to see what they did.
— A
More information about the Coco
mailing list