]> git.sur5r.net Git - cc65/commitdiff
Atari5200 joystick driver: enable POT input.
authorChristian Groessler <chris@groessler.org>
Fri, 24 Aug 2018 15:04:31 +0000 (17:04 +0200)
committerChristian Groessler <chris@groessler.org>
Fri, 24 Aug 2018 15:04:31 +0000 (17:04 +0200)
The "Atari800" emulator doesn't emulate this aspect, therefore the problem
wasn't noticed before.

libsrc/atari5200/joy/atr5200std.s

index 041dc6830f8bc840100292137e01caa5f020f16c..002ffdaafc9af5879d9872417e1d2e4c3b416d95 100644 (file)
@@ -44,6 +44,8 @@
 ;
 
 INSTALL:
+        lda     #$04            ; enable POT input from the joystick ports, see section "GTIA" in 
+        sta     CONSOL          ;   http://www.atarimuseum.com/videogames/consoles/5200/conv_to_5200.html
         lda     #JOY_ERR_OK
         ldx     #0
 ;       rts                     ; Run into UNINSTALL instead