]> git.sur5r.net Git - cc65/blobdiff - libsrc/pet/joy/pet-stdjoy.s
Updated to use the new VIA register names
[cc65] / libsrc / pet / joy / pet-stdjoy.s
index 85b7423022c4fcd9dd61ff191cfc050c28698b23..75b9f74658724a3012114c75817be1c8c96d5734 100644 (file)
@@ -85,7 +85,7 @@ READ:
 joy1:
         lda     #0
         sta     VIA_DDRA
-        lda     VIA_PRA
+        lda     VIA_PA1
         and     #$0f
         cmp     #$0c
         bne     @notc1
@@ -102,7 +102,7 @@ joy1:
 joy2:
         lda     #0
         sta     VIA_DDRA
-        lda     VIA_PRA
+        lda     VIA_PA1
         lsr
         lsr
         lsr