mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
+6
-10
@@ -23,10 +23,8 @@ getKeyAfterWait
|
|||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
beq checkJoyGetKey ; key not pressed, check Joy
|
bne checkJoyGetKey ; key not pressed, check Joy
|
||||||
cmp #$f7 ; SHIFT
|
|
||||||
beq checkJoyGetKey
|
|
||||||
.ELIF TARGET = 5200
|
.ELIF TARGET = 5200
|
||||||
lda SkStatSimulator
|
lda SkStatSimulator
|
||||||
and #%11111110
|
and #%11111110
|
||||||
@@ -137,8 +135,8 @@ StillWait
|
|||||||
beq StillWait
|
beq StillWait
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
bne StillWait
|
beq StillWait
|
||||||
lda CONSOL
|
lda CONSOL
|
||||||
and #%00000110 ; Select and Option only
|
and #%00000110 ; Select and Option only
|
||||||
cmp #%00000110
|
cmp #%00000110
|
||||||
@@ -186,10 +184,8 @@ KeyAutoReleased ; autorepeat
|
|||||||
and #%00000101 ; Start + Option
|
and #%00000101 ; Start + Option
|
||||||
beq QuitToGameover
|
beq QuitToGameover
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
jeq nokeys
|
jne nokeys
|
||||||
cmp #$f7 ; SHIFT
|
|
||||||
jeq nokeys
|
|
||||||
|
|
||||||
lda kbcode
|
lda kbcode
|
||||||
and #%10111111 ; SHIFT elimination
|
and #%10111111 ; SHIFT elimination
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user