mirror of
https://github.com/a2-4am/passport.git
synced 2024-06-08 16:29:33 +00:00
22 lines
587 B
Plaintext
Executable File
22 lines
587 B
Plaintext
Executable File
;-------------------------------
|
|
; IDDatasoft
|
|
; identify Datasoft encrypted bootloader
|
|
;
|
|
; in: track buffer contains T00,S00
|
|
; A = 0
|
|
; X = 0
|
|
; out: C clear if Datasoft encrypted bootloader found
|
|
; C set otherwise
|
|
; A = 0
|
|
; X = 0
|
|
; all other registers & flags clobbered
|
|
;-------------------------------
|
|
!macro IDDatasoft {
|
|
ldy #$08
|
|
jsr compare
|
|
!byte $01
|
|
!byte $4C,$7E,$08
|
|
!byte $04,$8A,$0C,$B8
|
|
; passport-test-suite/Tomahawk.woz [C=0] matches
|
|
}
|