mirror of
https://github.com/cc65/cc65.git
synced 2024-08-20 09:29:12 +00:00
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.
20 lines
302 B
ArmAsm
20 lines
302 B
ArmAsm
;
|
|
; IRQ handling (NES version)
|
|
;
|
|
|
|
.export initirq, doneirq
|
|
|
|
; ------------------------------------------------------------------------
|
|
|
|
.segment "INIT"
|
|
|
|
initirq:
|
|
rts
|
|
|
|
; ------------------------------------------------------------------------
|
|
|
|
.code
|
|
|
|
doneirq:
|
|
rts
|