mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-26 04:33:10 +00:00
Donkey Kong supports keyboard, auto-enable if no joystick
This commit is contained in:
parent
76fd0bbb52
commit
0b30e10703
@ -82,7 +82,7 @@
|
||||
0001,DIG.DUG
|
||||
1001,DINO.EGGS
|
||||
1001,DINO.SMURF
|
||||
1001,DONKEY.KONG
|
||||
0001,DONKEY.KONG
|
||||
0000,DOUBLE.TROUBLE
|
||||
1001,DRELBS
|
||||
0001,DROL
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba/Frank M.
|
||||
;(c) 2019-2020 by qkumba/Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/DONKEY.KONG",plain
|
||||
@ -11,7 +11,14 @@
|
||||
lda #$60
|
||||
sta $3eab
|
||||
jsr $3e36 ; decompress
|
||||
+GET_MACHINE_STATUS
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MachineStatus
|
||||
pha
|
||||
and #HAS_JOYSTICK
|
||||
bne +
|
||||
inc $7CB7 ; force keyboard
|
||||
+
|
||||
pla
|
||||
and #CHEATS_ENABLED
|
||||
beq +
|
||||
lda #$2c
|
||||
|
Loading…
Reference in New Issue
Block a user