mirror of
https://github.com/a2-4am/passport.git
synced 2025-08-09 22:25:12 +00:00
33 lines
762 B
Plaintext
33 lines
762 B
Plaintext
;-------------------------------
|
|
; #RWTSSWAPMICROFUN
|
|
; RWTS swappers at $BC56 and $BC61
|
|
;
|
|
; Tested on
|
|
; - Crown of Arthain
|
|
;-------------------------------
|
|
!zone {
|
|
bit gMode ; nothing to do here in verify-only mode
|
|
bpl .exit
|
|
lda #$06
|
|
ldx #$56
|
|
ldy #$05
|
|
jsr compare
|
|
!byte $A9,$00
|
|
!byte $8D,$00,$B9
|
|
bcs +
|
|
ldy #$01
|
|
jsr modify
|
|
!byte $60
|
|
+
|
|
ldx #$61
|
|
ldy #$05
|
|
jsr compare
|
|
!byte $A9,$01
|
|
!byte $8D,$00,$B9
|
|
bcs .exit ; passport-test-suite/Crown Of Arthain.woz [C=0] matches
|
|
ldy #$01
|
|
jsr modify
|
|
!byte $60
|
|
.exit
|
|
}
|