mirror of
https://github.com/peterferrie/prorwts2.git
synced 2024-06-15 10:29:27 +00:00
fix SmartPort scan in floppy mode
This commit is contained in:
parent
aa7dfe8680
commit
ba5a1652cc
|
@ -267,9 +267,9 @@ init jsr SETKBD
|
||||||
sta unrdrvoff2 + 1
|
sta unrdrvoff2 + 1
|
||||||
} else { ;no_interrupts = 0
|
} else { ;no_interrupts = 0
|
||||||
sta unrdrvoff4 + 1
|
sta unrdrvoff4 + 1
|
||||||
!if one_shot = 1 {
|
!if ((aligned_read xor 1) and one_shot) = 1 {
|
||||||
sta unrdrvoff5 + 1
|
sta unrdrvoff5 + 1
|
||||||
} ;one_shot = 1
|
} ;aligned_read = 0 and one_shot = 1
|
||||||
} ;no_interrupts = 1
|
} ;no_interrupts = 1
|
||||||
!if (might_exist + poll_drive) > 0 {
|
!if (might_exist + poll_drive) > 0 {
|
||||||
sta unrdrvoff3 + 1
|
sta unrdrvoff3 + 1
|
||||||
|
@ -448,8 +448,9 @@ adjpath tya
|
||||||
lda (scratchlo), y
|
lda (scratchlo), y
|
||||||
beq set_slot
|
beq set_slot
|
||||||
|
|
||||||
not_floppy inx
|
not_floppy
|
||||||
} ;enable_floppy = 1
|
} ;enable_floppy = 1
|
||||||
|
ldx #$c8
|
||||||
|
|
||||||
;find SmartPort device for basic MicroDrive support
|
;find SmartPort device for basic MicroDrive support
|
||||||
|
|
||||||
|
@ -1612,7 +1613,7 @@ issparse
|
||||||
iny
|
iny
|
||||||
bne -
|
bne -
|
||||||
inc adrhi
|
inc adrhi
|
||||||
if write_ffff = 0 {
|
!if write_ffff = 0 {
|
||||||
bne resparse
|
bne resparse
|
||||||
} else {
|
} else {
|
||||||
jmp resparse
|
jmp resparse
|
||||||
|
|
Loading…
Reference in New Issue
Block a user