mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-12-28 02:32:14 +00:00
distinguish better between 13- and hybrid-boot
This commit is contained in:
parent
f20d499200
commit
3e6d9c41db
16
src/idboot.a
16
src/idboot.a
@ -11,8 +11,7 @@ IDBoot
|
||||
sta $867B
|
||||
|
||||
; found D5 AA 96 T00S00 D5 AA AD, proceed as 16-sector
|
||||
- clc
|
||||
jmp $865D
|
||||
- jmp $865C
|
||||
|
||||
; found D5 AA not-96
|
||||
; check for out-of-order D5 AA AD
|
||||
@ -23,6 +22,19 @@ IDBoot
|
||||
cmp #$B5
|
||||
bne -
|
||||
|
||||
; found D5 AA B5, try to read address field
|
||||
lda #$60
|
||||
sta $8699
|
||||
ldy #3
|
||||
jsr $868F
|
||||
lda #$28
|
||||
sta $8699
|
||||
|
||||
; non-zero track suggests copy-protection
|
||||
; proceed as 16-sector instead
|
||||
lda $40
|
||||
bne --
|
||||
|
||||
; found D5 AA B5, assume 13-sector
|
||||
lda #$90
|
||||
sta $867B
|
||||
|
Loading…
Reference in New Issue
Block a user