mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
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.
This commit is contained in:
@@ -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)
|
||||
;
|
||||
;=============================================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user