Re: [cc65] char-copy and interrupts (C64)

Date view Thread view Subject view

From: Spiro Trikaliotis (
Date: 2003-03-14 12:32:54


just a correction to myself:

I myself wrote:

> SEI/CLI is not more readable, it is also more reliable!

"SEI/CLI is not *only* more readable, ..."

Another idea: Why not provide little IRQ and NMI handlers
that don't do anything but mapping the I/O in, executing the 
original interrupt handler (with PHP/JSR, of course), 
after returning from that one restoring the port 1 and doing
the RTI? This way, one would not loose one IRQ/NMI on the most
portable and reliable way.

This is something I always wanted to tell the people who just
poke the CIA 1 to disable the IRQ.


To unsubscribe from the list send mail to 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-03-14 12:30:28 CET