Keyboard added

This commit is contained in:
Pecusx
2024-08-11 18:37:02 +02:00
parent 018ee7d318
commit 84500606c0
4 changed files with 264 additions and 245 deletions
+10 -1
View File
@@ -461,7 +461,16 @@ DinoLoop4
lda STICK0
and #%00000001 ; up
beq Up
; no change state (temporary set to 0)
; check keyboard
lda SKSTAT
cmp #$f7 ; SHIFT
beq Down
cmp #$ff
beq Walk
lda kbcode
cmp #@kbcode._space
beq Up
Walk
lda #0
sta DinoState
NoChange