diff --git a/libsrc/atari/Makefile b/libsrc/atari/Makefile index 6b5e636d2..3c28d22a7 100644 --- a/libsrc/atari/Makefile +++ b/libsrc/atari/Makefile @@ -70,7 +70,6 @@ OBJS = _scrsize.o \ ostype.o \ randomize.o \ read.o \ - readjoy.o \ remove.o \ revers.o \ rs232.o \ diff --git a/libsrc/atari/readjoy.s b/libsrc/atari/readjoy.s deleted file mode 100644 index c9e3cd554..000000000 --- a/libsrc/atari/readjoy.s +++ /dev/null @@ -1,30 +0,0 @@ -; -; Christian Groessler -; -; unsigned readjoy (unsigned char joy); -; - - .export _readjoy - - .include "atari.inc" - - -.proc _readjoy - - and #3 ; fix joystick number - tax ; Joystick number (0-3) into X - -; Read joystick - - lda STRIG0,x ; get button - asl a - asl a - asl a - asl a - ora STICK0,x ; add position information - eor #$1F - ldx #0 ; fix X - rts - -.endproc -