On 3/31/2022 at 8:30 PM, Greg King said:
You should call cbm_k_clrchn()
before you call cbm_k_close().
It's the opposite of when you started to use the file:
OPEN the file,
connect to the file.
When you're finished, you must:
disconnect from the file,
close the file.
This does not seem to help. Made a video demonstrating the issue.
Also the API CLRCHN is to clear all channels. I believe the CLRCHN is to refocus on the keyboard input and to clear all channels.
Should not influence the CLOSE call. But that is a discussion that already happened earlier in this forum.
Please have a look in the video, it demonstrates the problem.
This issue also occurs in my game, where i did identify the issue by eliminating all logic gradually
until i got the mouse pointer working, and then gradually i reapplied parts of the logic until i found the
exact routines that were causing the issue (i did multiple recompiles, as you can imagine :-)-.