auto-patch lowercase for Dangerous Dave (#212)

This commit is contained in:
Tom Greene 2020-05-22 00:24:35 -04:00 committed by GitHub
parent e59bf589b4
commit 7d871c89d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,17 @@
+ENABLE_ACCEL
lda #$60 ; patch loader to return
sta $20C6
jsr $2000
; auto-patch lowercase on II+
+ lda ROM_MACHINEID
cmp #$06
beq +
lda #<casefix
sta $2390
lda #>casefix
sta $2391
+ jsr $2000
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
@ -31,6 +41,14 @@
+DISABLE_ACCEL
jmp $20EC
casefix
cmp #$E1
bcc +
and #$DF
+ jsr ROM_COUT
rts
seed
!byte $80, $4F, $C7, $52, $FF