mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-11-04 06:10:19 +00:00
Patched to check for real drive data, so we don't spin forever waiting for disk 2.
This commit is contained in:
parent
db1d043744
commit
b260002b4d
Binary file not shown.
@ -1706,6 +1706,25 @@ nodelay
|
||||
pla
|
||||
jmp nodisk
|
||||
+
|
||||
; Drive is spinning. See if there's real disk data.
|
||||
ldx #0
|
||||
ldy #0
|
||||
-- jsr readnib
|
||||
- cmp #$D5
|
||||
beq +
|
||||
inx
|
||||
bne --
|
||||
iny
|
||||
bne --
|
||||
pla
|
||||
pla
|
||||
jmp nodisk
|
||||
+ jsr readnib
|
||||
cmp #$AA
|
||||
bne -
|
||||
jsr readnib
|
||||
cmp #$96
|
||||
bne -
|
||||
} ;poll_drive = 1
|
||||
rts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user