From 673b27cc1b8fa0d7a7004ab715f03c229826cbd9 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 22 Jul 2015 11:36:39 +0200
Subject: [PATCH] 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.
---
libsrc/nes/irq.s | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 libsrc/nes/irq.s
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
--
2.39.5