add log message for anti-tamper checks

This commit is contained in:
4am 2018-01-29 11:00:58 -05:00
parent 13b6061bc1
commit 62f33b3428
3 changed files with 9 additions and 3 deletions

View File

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

View File

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

View File

@ -101,4 +101,5 @@ s_origin = $5F
s_volumename = $60
s_dinkeydos = $61
s_trillium = $62
STRINGCOUNT = $63
s_tamper = $63
STRINGCOUNT = $64