Does this actually envoke a hardware interrupt?
If so, I could probably use it.
Otherwise, how does it work?
Thus far, I'm loving this version of BASIC, and it has been working very well for me.
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tne EVERY (and also AFTER) commands use the alarm() mechanism on the unterlying UNIX system. And this is usually implemented using a hardware timer, causing an interrupt. However the timing is not very precise on non-realtime-operating systems. On Android / Linux and also windows, the interrupt handling is hidden deep down in the kernel. It is not that easy to use it directly (like i was on the ATARI ST). But it is possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Does this actually envoke a hardware interrupt?
If so, I could probably use it.
Otherwise, how does it work?
Thus far, I'm loving this version of BASIC, and it has been working very well for me.
Kevin
Tne EVERY (and also AFTER) commands use the alarm() mechanism on the unterlying UNIX system. And this is usually implemented using a hardware timer, causing an interrupt. However the timing is not very precise on non-realtime-operating systems. On Android / Linux and also windows, the interrupt handling is hidden deep down in the kernel. It is not that easy to use it directly (like i was on the ATARI ST). But it is possible.