From: Greg King Date: Tue, 5 Sep 2017 20:56:20 +0000 (-0400) Subject: Removed an unwanted button mask table from a VIC-20 joystick driver. X-Git-Tag: V2.17~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51765c6e5c01cacda99621809e97dcd45ce295ff;p=cc65 Removed an unwanted button mask table from a VIC-20 joystick driver. It had put the jump table at the wrong place. Programs crashed as soon as they tried to initiate the driver. --- diff --git a/libsrc/vic20/joy/vic20-stdjoy.s b/libsrc/vic20/joy/vic20-stdjoy.s index bf10acce5..67299cc1a 100644 --- a/libsrc/vic20/joy/vic20-stdjoy.s +++ b/libsrc/vic20/joy/vic20-stdjoy.s @@ -30,17 +30,6 @@ .addr $0000 -; Button state masks (8 values) - - .byte $02 ; JOY_UP - .byte $04 ; JOY_DOWN - .byte $08 ; JOY_LEFT - .byte $80 ; JOY_RIGHT - .byte $10 ; JOY_FIRE - .byte $00 ; JOY_FIRE2 unavailable - .byte $00 ; Future expansion - .byte $00 ; Future expansion - ; Jump table. .addr INSTALL @@ -128,5 +117,3 @@ READ: lda #$7F ; mask for VIA2 JOYBIT: sw3 ldx #0 rts - -