#: 12275 S12/OS9/68000 (OSK)
17-Sep-91 21:11:54
Sb: #12258-#Intercepts
Fm: Bob van der Poel 76510,2203
To: Kim Kempf 71161,3221
Kim,
Thanks for the details. It is making more sense all the time.
Re your comment "don't call me Surely" -- I don't understand?
It is too bad that OSK does not have a routine which could do a ctrl-c
dispatch. I can think of lots of applications -- some serious, others fun. For
example(s):
1. It'd be nice to have a ctrl-c menu pop up in an application which would
permit some kind of sub-task in an overlay window (calc, calendar, etc.).
2. If a game (like pacman?) is being done then ctrl-c would be great for a menu
which would change colors, pause, restart, etc.
We could go on. But the key is that these applications need IMMEDIATE response
-- not the kind of thing which happens when flags are checked from loops. I
don't see why it should be a problem either. Could a function be written which
pulls the interput stuff of the stack and then does something like a longjmp()
to a previously set point in the program. Guess that the routine would just
have to change the return point from the intercept from the program location to
the restart point?
There are 2 Replies.
|