]> git.sur5r.net Git - cc65/commitdiff
Minor style adjustment.
authorOliver Schmidt <ol.sc@web.de>
Sun, 20 Aug 2017 12:53:40 +0000 (14:53 +0200)
committerOliver Schmidt <ol.sc@web.de>
Sun, 20 Aug 2017 15:17:38 +0000 (17:17 +0200)
libsrc/c64/joy/c64-ptvjoy.s

index e916d887acf7488c15b98a1b2db52b41cb84e464..af5c27e134060dc8dd78532bede298b8afaadaf1 100644 (file)
@@ -122,8 +122,8 @@ joy3:
         sta     CIA2_PRB        ; (output one at PB7)
 
         lda     CIA2_PRB        ; cia 2 port B read/write
-        and     #$1f            ; get bit 4-0 (PB4-PB0)
-        eor     #$1f
+        and     #$1F            ; get bit 4-0 (PB4-PB0)
+        eor     #$1F
         rts
 
 ; Read joystick 4
@@ -132,14 +132,14 @@ joy4:   lda     #$00            ; cia 2 port B read/write
         sta     CIA2_PRB        ; (output zero at PB7)
 
         lda     CIA2_PRB        ; cia 2 port B read/write
-        and     #$0f            ; get bit 3-0 (PB3-PB0)
+        and     #$0F            ; get bit 3-0 (PB3-PB0)
         sta     tmp1            ; joy 4 directions
 
         lda     CIA2_PRB        ; cia 2 port B read/write
         and     #%00100000      ; get bit 5 (PB5)
         lsr
         ora     tmp1
-        eor     #$1f
+        eor     #$1F
 
         ldx #0
         rts