From cbdcab4fdb119e09235e246534db258f9c6135fb Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 25 Apr 2005 20:10:10 +0000 Subject: [PATCH] Change the sematics of callirq and the existing interruptors: The interrupts must now return carry set if the interrupt has been handled, and carry clear if not. The callirq routine will stop calling handlers with the first handler that claims to have handled the interrupt. callirq will return the carry flag to the caller as it came from the last interruptor called. git-svn-id: svn://svn.cc65.org/cc65/trunk@3491 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/c128-1351.s | 7 +++++-- libsrc/c128/c128-joymouse.s | 9 ++++++--- libsrc/c64/c64-1351.s | 9 ++++++--- libsrc/c64/c64-hitjoy.s | 8 ++++++-- libsrc/c64/c64-joymouse.s | 9 ++++++--- libsrc/runtime/callirq.s | 13 ++++++++++--- 6 files changed, 39 insertions(+), 16 deletions(-) diff --git a/libsrc/c128/c128-1351.s b/libsrc/c128/c128-1351.s index afb451eb8..ae8f01f04 100644 --- a/libsrc/c128/c128-1351.s +++ b/libsrc/c128/c128-1351.s @@ -269,7 +269,9 @@ IOCTL: lda #