[Coco] Intercepting commands like POKE?
William Astle
lost at l-w.ca
Thu Jan 4 14:54:16 EST 2024
On 2024-01-04 12:18, RETRO Innovations via Coco wrote:
> If there are better ways to intercept a command, so be it, but if there
> is no where in RAM to patch the command Allen is looking to extend,
> GETNCH may be the *ONLY* way short of copying BASIC into RAM to
> implement the extension.
The main interpretation loop has a RAM hook. That should get most of the
way there. Extended Basic already does something similar to catch CLOAD
and CSAVE (and also handle TIMER= and MID$()= ).
More information about the Coco
mailing list