mirror of
https://github.com/a2-4am/passport.git
synced 2025-02-07 11:30:25 +00:00
disable RWTS swapper in RPS protection [fixes Evelyn Dynamic Reader]
This commit is contained in:
parent
c9af84fa27
commit
dec3ce3698
@ -70,7 +70,7 @@
|
||||
ldx #$92
|
||||
jsr modify1 ; and set T00,S01,$92 =
|
||||
!byte $F1 ; change branch to unconditionally jump to success path
|
||||
bvc .exit ; always branches
|
||||
bvc .rwtsswap ; always branches
|
||||
|
||||
.variant2
|
||||
inx
|
||||
@ -84,5 +84,17 @@
|
||||
ldx #$92
|
||||
jsr modify1 ; and set T00,S01,$92 =
|
||||
!byte $F2 ; change branch to unconditionally jump to success path
|
||||
|
||||
.rwtsswap
|
||||
lda #$0C
|
||||
ldx #$40
|
||||
ldy #$04
|
||||
jsr compare
|
||||
!byte $32,$A2 ; MON and NOMON commands at $A233 and $A247
|
||||
!byte $46,$A2 ; are used to toggle protected/normal RWTS
|
||||
bcs .exit
|
||||
jsr modify
|
||||
!byte $57,$FF ; point them both to $FF58 (does nothing)
|
||||
!byte $57,$FF
|
||||
.exit
|
||||
}
|
||||
|
@ -387,7 +387,7 @@ StringTableHigh ; must be kept in sync with constants in enid.a
|
||||
.passport
|
||||
!text "Passport ",$00
|
||||
.header
|
||||
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2023-10-02",$00
|
||||
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2023-10-08",$00
|
||||
.bar9
|
||||
!text "_________",$00
|
||||
.bar18
|
||||
|
Loading…
x
Reference in New Issue
Block a user