]> git.sur5r.net Git - cc65/commitdiff
Added empty IRQ backend.
authorOliver Schmidt <ol.sc@web.de>
Wed, 22 Jul 2015 09:36:39 +0000 (11:36 +0200)
committerOliver Schmidt <ol.sc@web.de>
Wed, 22 Jul 2015 09:36:54 +0000 (11:36 +0200)
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 [new file with mode: 0644]

diff --git a/libsrc/nes/irq.s b/libsrc/nes/irq.s
new file mode 100644 (file)
index 0000000..9c026f0
--- /dev/null
@@ -0,0 +1,19 @@
+;
+; IRQ handling (NES version)
+;
+
+        .export         initirq, doneirq
+
+; ------------------------------------------------------------------------
+
+.segment        "INIT"
+
+initirq:
+        rts
+
+; ------------------------------------------------------------------------
+
+.code
+
+doneirq:
+        rts