Re: [cc65] Raster interrupts on Plus/4

From: Janne Peräaho <janne.peraaho1suomi24.fi>
Date: 2015-03-14 14:15:46
13.3.2015, 19.16, Ullrich von Bassewitz wrote:
>
> Hi!
>
> On Fri, Mar 13, 2015 at 07:05:26PM +0200, Janne Peräaho wrote:
>> I'm using old version of the cc65 (version 2.12.0) and it's missing the
>> set_irq function, so no. Just utilizing SEI() and CLI() to attach my
>> interrupt routine.
>>
>> Any attempt to use local variables in the interrupt routine crashed
>> the system immediately.
>
> This is a reentrancy problem. If you aren't using set_irq, you will have to
> save the complete zero page used by the generated code. See here:
>
>          http://www.cc65.org/faq.php#IntHandlers
>
> Newer versions do have better support for interrupts, so this might be an
> option.
>

Hi,

Thanks! I'll try implementing the interrupts with the latest cc65 
version and the set_irq().

-- 
Janne
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 14 14:15:52 2015

This archive was generated by hypermail 2.1.8 : 2015-03-14 14:15:55 CET