[Coco] intercept routine in Basic09

Wayne Campbell asa.rand at gmail.com
Wed Jan 20 18:44:23 EST 2010


It is interesting that you say this now, because that is what I was thinking 
about last night after posting my previous message. So, I can use ON EROR 
GOTO and trap for the signal that way. I am going to give that a try.

Thanks, Robert. :)

Wayne

----- Original Message ----- 
From: "Robert Gault" <robert.gault at worldnet.att.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Wednesday, January 20, 2010 2:38 AM
Subject: Re: [Coco] intercept routine in Basic09


> Wayne Campbell wrote:
>> I need to set up a signal intercept call. I have no idea what "address of 
>> the intercept routine" is, or "starting address of the routine's memory 
>> area", as they relate to anything I can define in Basic09.
>>
>> I know that the address of the intercept routine indicates the beginning 
>> of that routine, and starting address of routine's memory area probably 
>> indicates the entry point into the routine. My question is, how do I 
>> write this in Basic09 terms?
>>
>> Do I have to write a object code subroutine to handle this, or can it be 
>> done in Basic09?
>>
>> Wayne
>>
>
> If you don't want to involve writing assembly code, your best bet is to 
> use ON ERROR GOTO . While errors might not be thought of as a form of 
> communication, they are signals sent by processes or the system. User 
> errors can be defined if there is not already one that fits your needs.
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list