|
Forum Index : Microcontroller and PC projects : MMBasic SetTick vs INPUT
| Author | Message | ||||
| Mark Regular Member Joined: 26/11/2022 Location: United StatesPosts: 85 |
It appears that during the MMBasic INPUT processing, SetTick interrupts are disabled (or at least they aren't working for me ).I wrote a program that on a SetTick interrupt updates a time display at the bottom right of the screen, but while in the INPUT routine, the time isn't being updated. Mark |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6385 |
From the manual page 47 Interrupts VK7JH MMedit |
||||
| Mark Regular Member Joined: 26/11/2022 Location: United StatesPosts: 85 |
Thanks. I suspect that the INPUT command lasts until the user hits ENTER so it certainly will miss interrupts. I have my updated timer sort of working using INKEY$. The problem is getting an underscore cursor to display. Mark |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8364 |
Cheat! Blank it during input. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1694 |
Why don't you write your own function for this? Similar to this. Kind regards Michael causality ≠ correlation ≠ coincidence |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |