1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/lynx/tgi_irq.s
Oliver Schmidt dacee3b9ed Removed IRQ support from TGI drivers.
All but one TGI drivers didn't use IRQs. Especially when the TGI driver kernel was the only .interruptor this meant quite some unnecessary overhead because it pulled in the whole IRQ infrastructure.

The one driver using IRQs (the graphics driver for the 160x102x16 mode on the Lynx) now uses a library reference to set up a JMP to its IRQ handler.
2018-02-02 18:15:45 +01:00

12 lines
228 B
ArmAsm

;
; Oliver Schmidt, 2018-02-02
;
.export tgi_libref
.interruptor tgi_irq ; Export as IRQ handler
.data
tgi_libref:
tgi_irq: .byte $60, $00, $00 ; RTS plus two dummy bytes