Browse Source

Remove Short IDE/PPIDE Timeout, Issue #397

The Microdrives behave slightly differently than either normal spinning drives or CF Cards.  This update removes the "short" timeout that is used in the IDE/PPIDE drivers which caused timeout issues for the Microdrives.

The short timeout was originally used to workaround excessive wait/stall during boot of some media.  I don't think it is necessary any more because of additional intelligence in the initialization routines.
work v3.5.0-dev.56
Wayne Warthen 2 years ago
parent
commit
cdc2b3964d
  1. 3
      Source/HBIOS/ide.asm
  2. 3
      Source/HBIOS/ppide.asm

3
Source/HBIOS/ide.asm

@ -435,7 +435,8 @@ IDE_DEV2S: ; DEVICE 2, SLAVE
; PICO TO WAIT FOR THE PICO DEVICE TO INITIALIZE.
;
IDE_TOSLOW .EQU 200 ; SLOW TIMEOUT IS 20 SECS
IDE_TONORM .EQU 5 ; NORMAL TIMEOUT IS 0.5 SECS
;IDE_TONORM .EQU 5 ; NORMAL TIMEOUT IS 0.5 SECS
IDE_TONORM .EQU 200 ; NORMAL TIMEOUT IS 0.5 SECS
IDE_TOPICO .EQU 50 ; RC2014 SD PICO (5 SECONDS)
;
;=============================================================================

3
Source/HBIOS/ppide.asm

@ -351,7 +351,8 @@ PPIDE_DEV2S: ; DEVICE 2, SLAVE
; BASED ON REAL WORLD EXPERIENCE.
;
PPIDE_TOSLOW .EQU 200 ; SLOW TIMEOUT IS 20 SECS
PPIDE_TONORM .EQU 5 ; NORMAL TIMEOUT IS 0.5 SECS
;PPIDE_TONORM .EQU 5 ; NORMAL TIMEOUT IS 0.5 SECS
PPIDE_TONORM .EQU 200 ; NORMAL TIMEOUT IS 0.5 SECS
;
;=============================================================================
; INITIALIZATION ENTRY POINT

Loading…
Cancel
Save