]> git.sur5r.net Git - cc65/commitdiff
Removed the readjoy module - it was obsolete
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 15 Aug 2003 21:23:32 +0000 (21:23 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 15 Aug 2003 21:23:32 +0000 (21:23 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/Makefile
libsrc/atari/readjoy.s [deleted file]

index 6b5e636d2a8bb6b0babcb7883ba1eed0ed31533f..3c28d22a749de94fdf88305e400b5e752c7887a2 100644 (file)
@@ -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 (file)
index c9e3cd5..0000000
+++ /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
-