in my current project, I would like to detect key releases, or at the very least if any keys are pressed, at all. The usual GETIN only returns a nonzero value one single time during a key press (except the repeated ones when the key is held down for a longer time). It doesn't provide any precise information on HOW LONG the key is held down.
Are you aware of any possibilities to get more precise (and possibly more low-level) data from the keyboard?
Thanks in advance.
Edit
I've found this thread where they mention, that keyboard input is handled by the NMI handler. Since both the ISR vector, and the routine itself are in ROM, there is no way to get the actual data from the keyboard (without modifying the ROM).
I really think that the X16 would greatly benefit from a more exposed keyboard interface.
Hi everyone,
in my current project, I would like to detect key releases, or at the very least if any keys are pressed, at all. The usual GETIN only returns a nonzero value one single time during a key press (except the repeated ones when the key is held down for a longer time). It doesn't provide any precise information on HOW LONG the key is held down.
Are you aware of any possibilities to get more precise (and possibly more low-level) data from the keyboard?
Thanks in advance.
Edit
I've found this thread where they mention, that keyboard input is handled by the NMI handler. Since both the ISR vector, and the routine itself are in ROM, there is no way to get the actual data from the keyboard (without modifying the ROM).
I really think that the X16 would greatly benefit from a more exposed keyboard interface.
Edited by kliepatschShare this post
Link to post
Share on other sites