mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +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 $AE ; LDX
|
||||
bcs .exit
|
||||
sta gDisplayBytes
|
||||
pha
|
||||
txa
|
||||
adc #$09
|
||||
tax
|
||||
stx gDisplayBytes
|
||||
lda #s_tamper
|
||||
jsr PrintByID
|
||||
pla
|
||||
ldy #$01
|
||||
jsr modify
|
||||
|
@ -113,6 +113,7 @@ StringTable
|
||||
!word .volumename
|
||||
!word .dinkeydos
|
||||
!word .trillium
|
||||
!word .tamper
|
||||
;
|
||||
; Text can contain substitution strings, which
|
||||
; are replaced by current values at runtime. Each
|
||||
@ -138,7 +139,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-01-28",$00
|
||||
!text "Passport by 4am 2018-01-29",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
@ -430,4 +431,6 @@ StringTable
|
||||
!text "T00,S0B Found Dinkey-DOS",$8D,$00
|
||||
.trillium
|
||||
!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_dinkeydos = $61
|
||||
s_trillium = $62
|
||||
STRINGCOUNT = $63
|
||||
s_tamper = $63
|
||||
STRINGCOUNT = $64
|
||||
|
Loading…
Reference in New Issue
Block a user