anticipate SmartPort read failures

This commit is contained in:
Peter Ferrie 2025-02-09 15:30:41 -08:00
parent 814405c4b9
commit cb59b14394

View File

@ -609,7 +609,9 @@ iterunit inc unrunit2
bne +
ldx slot1 + 2
jmp iterdevice
+ jsr unrentrysei
+ lda #0
sta readbuff + $205 ;compensate for unreliable SmartPort error condition
jsr unrentrysei
ldy #$10
- lda readbuff + 3, y
cmp readbuff + $203, y