Re: [cc65] Optimizing code fails - Found the error!

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-11-22 13:18:14


>>>>> "UvB" == Ullrich von Bassewitz <uz_at_musoftware.de> writes:

UvB> I have currently no idea how to change that without removing
UvB> functionality. Not the best idea, but at least a workaround to
UvB> prevent people from falling into this problem would be to remove
UvB> the RTI instruction from the inline assembler, so one will have
UvB> to use the external assembler for interrupt handlers. Better
UvB> ideas anyone?

void __irqhandler__ irq(void);

But putting the irq handler in its own assembler source file instead
of using asm() isn't too much trouble.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-11-22 13:21:28 CET