Re: [cc65] __IRQFUNC_*__

From: Adam Dunkels <adam1sics.se>
Date: 2004-09-15 11:30:46
Hi!

On Wed, 2004-09-15 at 11:19, Ullrich von Bassewitz wrote:
> On Wed, Sep 15, 2004 at 10:38:06AM +0200, Adam Dunkels wrote:
> > But I don't really know what they do :-)
> 
> That is simple: The __IRQFUNC_TABLE__ is a table of function vectors built by
> the linker that is called from the interrupt. So a module that wants to add an
> interrupt handler does no longer have to chain the IRQ vector, but just
> declare the handler function as
> 
>         .condes         irq_handler, <priority>
> 
> and it will be called as a subroutine in the interrupt. No need to save any
> registers, and no need for an RTI.

Excellent! This is definitely a feature that I've subconsciously have
been needing for a while (I didn't realize that I've been needing it
until now ;-), so many thanks for adding it to cc65!

/adam
-- 
Adam Dunkels <adam@sics.se>
http://www.sics.se/~adam/

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 15 11:31:22 2004

This archive was generated by hypermail 2.1.8 : 2004-09-15 11:31:30 CEST