disable RWTS swapper in RPS protection [fixes Evelyn Dynamic Reader]

This commit is contained in:
4am 2023-10-08 01:10:39 -04:00
parent c9af84fa27
commit dec3ce3698
2 changed files with 14 additions and 2 deletions

View File

@ -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
}

View File

@ -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