[Coco] intercept routine in Basic09

Aaron Wolfe aawolfe at gmail.com
Tue Jan 19 22:21:30 EST 2010


I'm not sure, but you may be able to just create a byte array
containing the signal handler (in machine code) then pass
ADDR(bytearray) to the os9 intercept call.  bytes would have to end
with RTI.  the handler would usually be only a very small amount of
machine code.

On Tue, Jan 19, 2010 at 10:16 PM, Wayne Campbell <asa.rand at gmail.com> 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
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



More information about the Coco mailing list