mirror of
https://github.com/a2-4am/passport.git
synced 2025-08-09 22:25:12 +00:00
disable RWTS swapper in RPS protection [fixes Evelyn Dynamic Reader]
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
ldx #$92
|
ldx #$92
|
||||||
jsr modify1 ; and set T00,S01,$92 =
|
jsr modify1 ; and set T00,S01,$92 =
|
||||||
!byte $F1 ; change branch to unconditionally jump to success path
|
!byte $F1 ; change branch to unconditionally jump to success path
|
||||||
bvc .exit ; always branches
|
bvc .rwtsswap ; always branches
|
||||||
|
|
||||||
.variant2
|
.variant2
|
||||||
inx
|
inx
|
||||||
@@ -84,5 +84,17 @@
|
|||||||
ldx #$92
|
ldx #$92
|
||||||
jsr modify1 ; and set T00,S01,$92 =
|
jsr modify1 ; and set T00,S01,$92 =
|
||||||
!byte $F2 ; change branch to unconditionally jump to success path
|
!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
|
.exit
|
||||||
}
|
}
|
||||||
|
@@ -387,7 +387,7 @@ StringTableHigh ; must be kept in sync with constants in enid.a
|
|||||||
.passport
|
.passport
|
||||||
!text "Passport ",$00
|
!text "Passport ",$00
|
||||||
.header
|
.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
|
.bar9
|
||||||
!text "_________",$00
|
!text "_________",$00
|
||||||
.bar18
|
.bar18
|
||||||
|
Reference in New Issue
Block a user