From: Oliver Schmidt
Date: Wed, 22 Jul 2015 09:36:39 +0000 (+0200)
Subject: Added empty IRQ backend.
X-Git-Tag: V2.16~245
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=673b27cc1b8fa0d7a7004ab715f03c229826cbd9;p=cc65
Added empty IRQ backend.
The driver kernels all require IRQ handling even if the actual drivers don't make use of it. So in order to successfully link a NES program using the joystick and/or TGI driver there has to be at least a "dummy" IRQ backend.
---
diff --git a/libsrc/nes/irq.s b/libsrc/nes/irq.s
new file mode 100644
index 000000000..9c026f0ed
--- /dev/null
+++ b/libsrc/nes/irq.s
@@ -0,0 +1,19 @@
+;
+; IRQ handling (NES version)
+;
+
+ .export initirq, doneirq
+
+; ------------------------------------------------------------------------
+
+.segment "INIT"
+
+initirq:
+ rts
+
+; ------------------------------------------------------------------------
+
+.code
+
+doneirq:
+ rts