From d697ff8030295007c822f94d8767294593bcfcdf Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 15 Aug 2003 21:23:32 +0000 Subject: [PATCH] Removed the readjoy module - it was obsolete git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/Makefile | 1 - libsrc/atari/readjoy.s | 30 ------------------------------ 2 files changed, 31 deletions(-) delete mode 100644 libsrc/atari/readjoy.s 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 - -- 2.39.5