mirror of
https://github.com/a2-4am/passport.git
synced 2024-05-28 21:41:27 +00:00
33 lines
860 B
Plaintext
33 lines
860 B
Plaintext
;-------------------------------
|
|
; #WOODBURY
|
|
; bad block check with delayed effects
|
|
;
|
|
; Tested on
|
|
; - PlayWriter: Mystery! (1985, Woodbury)
|
|
; - PlayWriter: Adventures in Space (1985, Woodbury)
|
|
; - PlayWriter: Castles and Creatures (1985, Woodbury)
|
|
;-------------------------------
|
|
!zone {
|
|
lda gPossibleWoodbury
|
|
bne .exit
|
|
|
|
ldy #$14
|
|
jsr SearchTrack
|
|
!byte $A9,$00
|
|
!byte $85,$09
|
|
!byte $A9,WILDCARD
|
|
!byte $A0,WILDCARD
|
|
!byte $20,$D9,$03
|
|
!byte $AD,WILDCARD,WILDCARD
|
|
!byte $C9,$40
|
|
!byte $D0,$05
|
|
!byte $A9,$00
|
|
bcs .exit ; passport-test-suite/PlayWriter.woz [C=0] matches
|
|
jsr PrintByID
|
|
!byte s_badblock
|
|
jsr inx4
|
|
jsr modify2
|
|
!byte $F0,$0E
|
|
.exit
|
|
}
|