passport/src/id/datasoft.a
2021-06-20 00:18:55 -04:00

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
}