Fix typo
This commit is contained in:
parent
7ae6430728
commit
cd7abdb58d
1 changed files with 5 additions and 4 deletions
|
@ -53,7 +53,7 @@ INSTALL:
|
||||||
sta VIA2::DDRB
|
sta VIA2::DDRB
|
||||||
sta VIA2::PRB
|
sta VIA2::PRB
|
||||||
; We could detect joysticks because with previous command bit0,1,2,3,4 should be set to 1 after
|
; We could detect joysticks because with previous command bit0,1,2,3,4 should be set to 1 after
|
||||||
; But if some one press fire or press direction, we could reach others values which could break Joystick détection.
|
; But if some one press fire or press direction, we could reach others values which could break joystick detection.
|
||||||
lda #<JOY_ERR_OK
|
lda #<JOY_ERR_OK
|
||||||
ldx #>JOY_ERR_OK
|
ldx #>JOY_ERR_OK
|
||||||
; rts ; Run into UNINSTALL instead
|
; rts ; Run into UNINSTALL instead
|
||||||
|
@ -84,9 +84,9 @@ COUNT:
|
||||||
; When PB7 and PB6 are high, it controls two CA3083 (2 NPN transistors array) bases.
|
; When PB7 and PB6 are high, it controls two CA3083 (2 NPN transistors array) bases.
|
||||||
; In that case, PB0 to PB4 are set to high (it means no action are pressed)
|
; In that case, PB0 to PB4 are set to high (it means no action are pressed)
|
||||||
; When the user press something then bit will be set to 0.
|
; When the user press something then bit will be set to 0.
|
||||||
; bit 0 is right
|
; Bit 0 is right
|
||||||
; bit 1 is left
|
; Bit 1 is left
|
||||||
; bit 2 is fire
|
; Bit 2 is fire
|
||||||
; ...
|
; ...
|
||||||
|
|
||||||
READ:
|
READ:
|
||||||
|
@ -97,6 +97,7 @@ READ:
|
||||||
; then read
|
; then read
|
||||||
lda VIA2::PRB
|
lda VIA2::PRB
|
||||||
eor #%10011111
|
eor #%10011111
|
||||||
|
|
||||||
rts
|
rts
|
||||||
right:
|
right:
|
||||||
lda #%01000000
|
lda #%01000000
|
||||||
|
|
Loading…
Add table
Reference in a new issue