EA, Sierra: mark anti-tamper points

This commit is contained in:
Peter Ferrie 2018-01-29 09:59:11 -08:00
parent 62f33b3428
commit 85d776157f
2 changed files with 40 additions and 0 deletions

View File

@ -104,6 +104,8 @@
!byte $0F,$F5,$70 ;BNE $a9f6
bcs +
pha
lda #s_tamper
jsr PrintByID
txa
adc #7
tax
@ -132,6 +134,8 @@
!byte $60 ;RTS
bcs +
pha
lda #s_tamper
jsr PrintByID
txa
adc #11
tax
@ -150,6 +154,8 @@
!byte $0F,$78,$60 ;BNE $B97B
bcs +
pha
lda #s_tamper
jsr PrintByID
txa
adc #11
tax
@ -167,6 +173,10 @@
!byte $20,$67,$67 ;JSR $6767
!byte $20,$AA,$BF ;JSR $BFAA
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx
@ -183,6 +193,10 @@
!byte $C9,$52 ;CMP #$52
!byte $F0,$03 ;BEQ +$03
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx
@ -199,6 +213,10 @@
!byte $C9,$52 ;CMP #$52
!byte $D0,$DB ;BNE -$DB
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx
@ -342,6 +360,10 @@
!byte $E9,$00 ;SBC #$00
!byte $48 ;PHA
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
ldy #1
jsr modify
@ -358,6 +380,8 @@
!byte $F0
bcs +
pha
lda #s_tamper
jsr PrintByID
txa
adc #12
tax
@ -379,6 +403,8 @@
!byte $07,$AB ;CMP #$e7
bcs .exit
pha
lda #s_tamper
jsr PrintByID
txa
adc #24
tax

View File

@ -85,6 +85,10 @@
!byte $C9,$1D ;CMP #$1D
!byte $B0 ;BCS *+xx
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx
@ -309,6 +313,8 @@ patchstyle
!byte $95,$00 ;STA $00,X
bcs +
pha
lda #s_tamper
jsr PrintByID
txa
adc #9
tax
@ -326,6 +332,10 @@ patchstyle
!byte $AA ;TAX
!byte $95,$00 ;STA $00,X
+ bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx
@ -347,6 +357,10 @@ patchstyle
!byte $AA ;TAX
!byte $9D,$00,$01 ;STA $0100,X
bcs +
pha
lda #s_tamper
jsr PrintByID
pla
inx
inx
inx