From: cuz Date: Fri, 15 Aug 2003 21:23:32 +0000 (+0000) Subject: Removed the readjoy module - it was obsolete X-Git-Tag: V2.12.0~1404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d697ff8030295007c822f94d8767294593bcfcdf;p=cc65 Removed the readjoy module - it was obsolete git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 -