mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
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.
This commit is contained in:
parent
0deeccebf8
commit
51765c6e5c
@ -30,17 +30,6 @@
|
|||||||
|
|
||||||
.addr $0000
|
.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.
|
; Jump table.
|
||||||
|
|
||||||
.addr INSTALL
|
.addr INSTALL
|
||||||
@ -128,5 +117,3 @@ READ: lda #$7F ; mask for VIA2 JOYBIT: sw3
|
|||||||
|
|
||||||
ldx #0
|
ldx #0
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user