Merge pull request #90 from peterferrie/master

correct tamper location reporting
This commit is contained in:
4am 2019-06-10 14:59:44 -04:00 committed by GitHub
commit 48bcc53f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -107,6 +107,7 @@
!byte $07,$01 ;SUB #$4d
!byte $0F,$F5,$70 ;BNE $a9f6
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -137,6 +138,7 @@
!byte $D0,$7C ;BNE +$7C
!byte $60 ;RTS
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -157,6 +159,7 @@
!byte $07,$1C ;SUB #$50
!byte $0F,$78,$60 ;BNE $B97B
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -177,6 +180,7 @@
!byte $20,$67,$67 ;JSR $6767
!byte $20,$AA,$BF ;JSR $BFAA
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -197,6 +201,7 @@
!byte $C9,$52 ;CMP #$52
!byte $F0,$03 ;BEQ +$03
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -217,6 +222,7 @@
!byte $C9,$52 ;CMP #$52
!byte $D0,$DB ;BNE -$DB
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -364,6 +370,7 @@
!byte $E9,$00 ;SBC #$00
!byte $48 ;PHA
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -383,6 +390,7 @@
!byte $C9,$A0 ;CMP #$A0
!byte $F0 ;BEQ *+xx
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -406,6 +414,7 @@
!byte $04,$F1,$70 ;LDA $a9f2
!byte $07 ;CMP #$xx
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -480,6 +489,7 @@
!byte $5E,$00
!byte $5E,$0D
bcs .exit
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID

View File

@ -86,6 +86,7 @@
!byte $C9,$1D ;CMP #$1D
!byte $B0 ;BCS *+xx
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -325,6 +326,7 @@
!byte $AA ;TAX
!byte $95,$00 ;STA $00,X
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -345,6 +347,7 @@
!byte $AA ;TAX
!byte $95,$00 ;STA $00,X
+ bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
@ -370,6 +373,7 @@
!byte $AA ;TAX
!byte $9D,$00,$01 ;STA $0100,X
bcs .jmpexit
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID