mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-28 03:29:59 +00:00
auto-patch lowercase for Dangerous Dave (#212)
This commit is contained in:
parent
e59bf589b4
commit
7d871c89d5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user