mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 19:30:50 +00:00
add log message for anti-tamper checks
This commit is contained in:
parent
13b6061bc1
commit
62f33b3428
@ -45,11 +45,13 @@
|
|||||||
!byte $F0,$09 ; BEQ +9
|
!byte $F0,$09 ; BEQ +9
|
||||||
!byte $AE ; LDX
|
!byte $AE ; LDX
|
||||||
bcs .exit
|
bcs .exit
|
||||||
|
sta gDisplayBytes
|
||||||
pha
|
pha
|
||||||
txa
|
txa
|
||||||
adc #$09
|
adc #$09
|
||||||
tax
|
tax
|
||||||
stx gDisplayBytes
|
lda #s_tamper
|
||||||
|
jsr PrintByID
|
||||||
pla
|
pla
|
||||||
ldy #$01
|
ldy #$01
|
||||||
jsr modify
|
jsr modify
|
||||||
|
@ -113,6 +113,7 @@ StringTable
|
|||||||
!word .volumename
|
!word .volumename
|
||||||
!word .dinkeydos
|
!word .dinkeydos
|
||||||
!word .trillium
|
!word .trillium
|
||||||
|
!word .tamper
|
||||||
;
|
;
|
||||||
; Text can contain substitution strings, which
|
; Text can contain substitution strings, which
|
||||||
; are replaced by current values at runtime. Each
|
; are replaced by current values at runtime. Each
|
||||||
@ -138,7 +139,7 @@ StringTable
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
.header
|
.header
|
||||||
!text "Passport by 4am 2018-01-28",$00
|
!text "Passport by 4am 2018-01-29",$00
|
||||||
.mainmenu
|
.mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
@ -430,4 +431,6 @@ StringTable
|
|||||||
!text "T00,S0B Found Dinkey-DOS",$8D,$00
|
!text "T00,S0B Found Dinkey-DOS",$8D,$00
|
||||||
.trillium
|
.trillium
|
||||||
!text "T%t,S%0 Found Trillium protection check",$8D,$00
|
!text "T%t,S%0 Found Trillium protection check",$8D,$00
|
||||||
|
.tamper
|
||||||
|
!text "T%t,S%0 Found anti-tamper check",$8D,$00
|
||||||
}
|
}
|
||||||
|
@ -101,4 +101,5 @@ s_origin = $5F
|
|||||||
s_volumename = $60
|
s_volumename = $60
|
||||||
s_dinkeydos = $61
|
s_dinkeydos = $61
|
||||||
s_trillium = $62
|
s_trillium = $62
|
||||||
STRINGCOUNT = $63
|
s_tamper = $63
|
||||||
|
STRINGCOUNT = $64
|
||||||
|
Loading…
Reference in New Issue
Block a user