Helmut Karlowski wrote:
We must make a list of OS versions where this kbdvec vector exists, and use it only when available. Note that the actual routine has alwaysI'm not sure if it's there in TOS 3.06, but the patch does not change a thing.
The presence or not of this new kbdvec vector could probably easily seen with a quick disassembly of the ACIA vector for TOS 3.06.
We must keep in mind the final goal: its about stopping the key-repeat routine triggered by the VBL. Unfortunately the variable disabling the active key repeat is undocumented and its address is not the same between TOS versions. Thus I got the idea to access that variable indirectly by generating a fake key release.How would you do that?
My original idea was to generate a fake key release, it had been implemented in the patch you have committed. I have no further idea, except hardcoding the address of that boolean variable for all TOS versions into FreeMiNT :-(
-- Vincent Rivière