Re: [cc65] Raster interrupts on Plus/4

From: Greg King <greg.king51verizon.net>
Date: 2015-03-14 15:19:14
On 2015-03-14 9:15 AM, Janne Peräaho wrote:
>
> Thanks! I'll try implementing the interrupts with the latest cc65
> version and the set_irq().

Keep in mind that the new interrupt-handling code tries to be portable. 
  So, it isn't as close to the bare machine as the old methods are; it 
takes longer to get to your own handler.  Therefore, you must 
"anticipate" the raster line where you want to do something.  You must 
tell the video chip to interrupt at an earlier line, a line that will 
reach your handler at about one line before what you want.  Then, your 
handler can do a tight, fast wait loop for the exact raster line that 
you want.
----------------------------------------------------------------------
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 15:19:54 2015

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