1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-14 05:05:45 +00:00
cc65/libsrc/joystick/joy_read.s
Oliver Schmidt 1976d6cd32 Removed IRQ support from joystick drivers.
All but one joystick drivers didn't use IRQs. Espsecially when the joystick driver kernel was the only .interruptor this meant quite some unnecessary overhead because it pulled in the whole IRQ infrastructure.

I was told that the one driver using IRQs (the DXS/HIT-4 Player joystick driver for the C64) can be reworked to not do it. Until this is done that driver is defunct.
2018-02-01 22:38:36 +01:00

11 lines
251 B
ArmAsm

;
; Ullrich von Bassewitz, 2002-12-20
;
; unsigned char __fastcall__ joy_read (unsigned char joystick);
; /* Read a particular joystick */
;
.include "joy-kernel.inc"
_joy_read = joy_read ; Use driver entry