[Coco] Os9 Intercept

Bill Pierce ooogalapasooo at aol.com
Tue Oct 30 00:42:41 EDT 2012


Hi Guys,
In OS9, how do you reset an Intercept back to default after a program has set it?
I have a program that runs a function that uses a signal intercept. When the function is called, the F$Icpt is set. The program will be continuously running, but the intercept will no longer be needed until the same function is called again. The lines that set the intercept can be jumped over each time, but the intercept itself does not need to in operation unless within that function, as it interferes with the rest of the program. So, how would I go about resetting the intercept address to what it was before the change. I searched through both the "C" User's guide and the OS9 Tech Reference manual and only found reference to setting the intercept. 
So, is there some way to call before the intercept is set to get the current intercept address saved before I set the intercept?

Thnx
Bill P

Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Bill Pierce
ooogalapasooo at aol.com




More information about the Coco mailing list