[Coco] OS9 Programming question

camillus Blockx camillus.b.58 at gmail.com
Sat Jan 19 09:14:36 EST 2013


hi

maybe you can set flags for each window, and clear all the flag on return
to the main code. This would avoid having pending breaks. ofcourse the
polling of all the flags needs to be done on entry in the main code.

i hope this gives you ideas.

cba


On Fri, Jan 18, 2013 at 10:02 AM, Bill Pierce <ooogalapasooo at aol.com> wrote:

>
> Hi guys,
> I have an OS9 program that runs a loop that forks several other programs
> in succession in overlay windows. Each program sets an intercept that
> catches the break key and terminates on break and goes to the next program
> until the loop is finished. When the loop exits and returns to the main
> window, all the "break" keys that were pressed in the other programs all
> echo to the main window. The screen redraws for each break key that was
> pressed for each of the programs that was run.
> Is there some way to clear those signals so they don't come back to the
> main program? The main program has it's own intercept which is reset on
> return, but it doesn't seem to do any good in this case. If I don't "break"
> the other programs and let them finish, the program runs fine on return.
> All the program are written in C and Asm.
>
> Any suggestions?
> Bill P
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



More information about the Coco mailing list